mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-07-02 13:25:42 +02:00
fix std exchange, fix host mem unused funcs
This commit is contained in:
parent
acc13113aa
commit
7901a92b9b
2 changed files with 6 additions and 6 deletions
|
|
@ -39,7 +39,8 @@ public:
|
|||
VirtualBuffer& operator=(const VirtualBuffer&) = delete;
|
||||
|
||||
VirtualBuffer(VirtualBuffer&& other) noexcept
|
||||
: alloc_size{std::exchange(other.alloc_size, 0)}, base_ptr{std::exchange(other.base_ptr), nullptr}
|
||||
: alloc_size{std::exchange(other.alloc_size, 0)}
|
||||
, base_ptr{std::exchange(other.base_ptr, nullptr)}
|
||||
{}
|
||||
|
||||
VirtualBuffer& operator=(VirtualBuffer&& other) noexcept {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue