1
0
Fork 0
forked from suyu/suyu

Merge pull request #1509 from lioncash/noncopy

common: Minor changes to NonCopyable
This commit is contained in:
bunnei 2016-03-13 16:47:44 -04:00
commit a2024d7497

View file

@ -53,9 +53,9 @@ typedef u32 PAddr; ///< Represents a pointer in the ARM11 physical address space
// An inheritable class to disallow the copy constructor and operator= functions
class NonCopyable {
protected:
NonCopyable() = default;
constexpr NonCopyable() = default;
~NonCopyable() = default;
NonCopyable(NonCopyable&) = delete;
NonCopyable& operator=(NonCopyable&) = delete;
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator=(const NonCopyable&) = delete;
};