From 38376b833efb55a9cb452f22a783ae4411dd3926 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 12 Mar 2016 21:57:18 -0500 Subject: [PATCH] common_types: Make NonCopyable constructor constexpr --- src/common/common_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;