1
0
Fork 0

common_types: Make NonCopyable constructor constexpr

This commit is contained in:
Lioncash 2016-03-12 21:57:18 -05:00
parent 45e2fce7c0
commit 38376b833e
1 changed files with 1 additions and 1 deletions

View File

@ -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 // An inheritable class to disallow the copy constructor and operator= functions
class NonCopyable { class NonCopyable {
protected: protected:
NonCopyable() = default; constexpr NonCopyable() = default;
~NonCopyable() = default; ~NonCopyable() = default;
NonCopyable(const NonCopyable&) = delete; NonCopyable(const NonCopyable&) = delete;