diff options
author | Lioncash <mathew1800@gmail.com> | 2019-02-27 11:07:23 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-02-27 11:08:19 -0500 |
commit | 16ea93c11e92036f09b75788fe4cd45533e10d00 (patch) | |
tree | afdd24aecc689e2313c95c0b41abb6a1bfeccd2a /src | |
parent | a6a783b3dc17460216fd7fb0e0641c0e3a95f735 (diff) |
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 'src')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_memory_manager.cpp | 2 |
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 VKMemoryCommitImpl::VKMemoryCommitImpl(VKMemoryAllocation* allocation, vk::DeviceMemory memory, u8* data, u64 begin, u64 end) - : allocation{allocation}, memory{memory}, data{data}, interval(std::make_pair(begin, end)) {} + : interval(std::make_pair(begin, end)), memory{memory}, allocation{allocation}, data{data} {} VKMemoryCommitImpl::~VKMemoryCommitImpl() { allocation->Free(this); |