aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-03-12 21:57:18 -0500
committerLioncash <mathew1800@gmail.com>2016-03-12 21:57:18 -0500
commit353df6fd7262442b37c4a034687d0b32e009e22a (patch)
tree5d6808af845f1b8b73d6949b8588cc1f423c9481 /src/common
parent388b2e938bacf18ccc7b66acabf42563c6864440 (diff)
common_types: Make NonCopyable constructor constexpr
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/common_types.h b/src/common/common_types.h
index 1384b7f6f5..9f51dff18c 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;