summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2019-02-27 11:07:23 -0500
committerGravatar Lioncash2019-02-27 11:08:19 -0500
commit16ea93c11e92036f09b75788fe4cd45533e10d00 (patch)
treeafdd24aecc689e2313c95c0b41abb6a1bfeccd2a
parentgl_rasterizer: Reorder constructor initializer list in terms of member declar... (diff)
downloadyuzu-16ea93c11e92036f09b75788fe4cd45533e10d00.tar.gz
yuzu-16ea93c11e92036f09b75788fe4cd45533e10d00.tar.xz
yuzu-16ea93c11e92036f09b75788fe4cd45533e10d00.zip
vk_memory_manager: Reorder constructor initializer list in terms of member declaration order
Reorders members in the order that they would actually be initialized in. Silences a -Wreorder warning.
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_vulkan/vk_memory_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_memory_manager.cpp b/src/video_core/renderer_vulkan/vk_memory_manager.cpp
index 17ee93b91..0451babbf 100644
--- a/src/video_core/renderer_vulkan/vk_memory_manager.cpp
+++ b/src/video_core/renderer_vulkan/vk_memory_manager.cpp
@@ -238,7 +238,7 @@ bool VKMemoryManager::AllocMemory(vk::MemoryPropertyFlags wanted_properties, u32
238 238
239VKMemoryCommitImpl::VKMemoryCommitImpl(VKMemoryAllocation* allocation, vk::DeviceMemory memory, 239VKMemoryCommitImpl::VKMemoryCommitImpl(VKMemoryAllocation* allocation, vk::DeviceMemory memory,
240 u8* data, u64 begin, u64 end) 240 u8* data, u64 begin, u64 end)
241 : allocation{allocation}, memory{memory}, data{data}, interval(std::make_pair(begin, end)) {} 241 : interval(std::make_pair(begin, end)), memory{memory}, allocation{allocation}, data{data} {}
242 242
243VKMemoryCommitImpl::~VKMemoryCommitImpl() { 243VKMemoryCommitImpl::~VKMemoryCommitImpl() {
244 allocation->Free(this); 244 allocation->Free(this);