mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
NonCopyable: Allow moving
NonCopyable is only supposed to prevent classes from being copied, not make it hard for classes to be moveable.
This commit is contained in:
parent
a8606f5d13
commit
b0ee8bd0a0
@ -13,4 +13,7 @@ protected:
|
|||||||
|
|
||||||
NonCopyable(const NonCopyable&) = delete;
|
NonCopyable(const NonCopyable&) = delete;
|
||||||
NonCopyable& operator=(const NonCopyable&) = delete;
|
NonCopyable& operator=(const NonCopyable&) = delete;
|
||||||
|
|
||||||
|
NonCopyable(NonCopyable&&) = default;
|
||||||
|
NonCopyable& operator=(NonCopyable&&) = default;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user