mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06: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:
@ -13,4 +13,7 @@ protected:
|
||||
|
||||
NonCopyable(const NonCopyable&) = delete;
|
||||
NonCopyable& operator=(const NonCopyable&) = delete;
|
||||
|
||||
NonCopyable(NonCopyable&&) = default;
|
||||
NonCopyable& operator=(NonCopyable&&) = default;
|
||||
};
|
||||
|
Reference in New Issue
Block a user