mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-30 10:34:15 +01:00
Fix memory::Buffer move constructor
This commit is contained in:
parent
ef0ae30667
commit
7861968c05
@ -27,7 +27,8 @@ namespace skyline::gpu::memory {
|
|||||||
constexpr Buffer(Buffer &&other)
|
constexpr Buffer(Buffer &&other)
|
||||||
: vmaAllocator(std::exchange(other.vmaAllocator, nullptr)),
|
: vmaAllocator(std::exchange(other.vmaAllocator, nullptr)),
|
||||||
vmaAllocation(std::exchange(other.vmaAllocation, nullptr)),
|
vmaAllocation(std::exchange(other.vmaAllocation, nullptr)),
|
||||||
vkBuffer(std::exchange(other.vkBuffer, {})) {}
|
vkBuffer(std::exchange(other.vkBuffer, {})),
|
||||||
|
span(other) {}
|
||||||
|
|
||||||
Buffer &operator=(const Buffer &) = delete;
|
Buffer &operator=(const Buffer &) = delete;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user