diff --git a/src/common/common_types.h b/src/common/common_types.h index 1384b7f6f..9f51dff18 100644 --- a/src/common/common_types.h +++ b/src/common/common_types.h @@ -53,7 +53,7 @@ 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(const NonCopyable&) = delete;