diff options
| author | 2019-02-27 11:07:23 -0500 | |
|---|---|---|
| committer | 2019-02-27 11:08:19 -0500 | |
| commit | 16ea93c11e92036f09b75788fe4cd45533e10d00 (patch) | |
| tree | afdd24aecc689e2313c95c0b41abb6a1bfeccd2a | |
| parent | gl_rasterizer: Reorder constructor initializer list in terms of member declar... (diff) | |
| download | yuzu-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.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 | |||
| 238 | 238 | ||
| 239 | VKMemoryCommitImpl::VKMemoryCommitImpl(VKMemoryAllocation* allocation, vk::DeviceMemory memory, | 239 | VKMemoryCommitImpl::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 | ||
| 243 | VKMemoryCommitImpl::~VKMemoryCommitImpl() { | 243 | VKMemoryCommitImpl::~VKMemoryCommitImpl() { |
| 244 | allocation->Free(this); | 244 | allocation->Free(this); |