diff options
author | Lioncash <mathew1800@gmail.com> | 2016-03-12 21:57:18 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-03-12 21:57:18 -0500 |
commit | 38376b833efb55a9cb452f22a783ae4411dd3926 (patch) | |
tree | 5d6808af845f1b8b73d6949b8588cc1f423c9481 | |
parent | 45e2fce7c01c5046832990058697876add0e0547 (diff) |
common_types: Make NonCopyable constructor constexpr
-rw-r--r-- | src/common/common_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |