diff options
Diffstat (limited to '')
| -rw-r--r-- | src/common/common_types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/common_types.h b/src/common/common_types.h index fa3e0b8d6..9f51dff18 100644 --- a/src/common/common_types.h +++ b/src/common/common_types.h | |||
| @@ -53,9 +53,9 @@ typedef u32 PAddr; ///< Represents a pointer in the ARM11 physical address space | |||
| 53 | // An inheritable class to disallow the copy constructor and operator= functions | 53 | // An inheritable class to disallow the copy constructor and operator= functions |
| 54 | class NonCopyable { | 54 | class NonCopyable { |
| 55 | protected: | 55 | protected: |
| 56 | NonCopyable() = default; | 56 | constexpr NonCopyable() = default; |
| 57 | ~NonCopyable() = default; | 57 | ~NonCopyable() = default; |
| 58 | 58 | ||
| 59 | NonCopyable(NonCopyable&) = delete; | 59 | NonCopyable(const NonCopyable&) = delete; |
| 60 | NonCopyable& operator=(NonCopyable&) = delete; | 60 | NonCopyable& operator=(const NonCopyable&) = delete; |
| 61 | }; | 61 | }; |