summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-03-13 21:47:44 +0100
committerbunnei <bunneidev@gmail.com>2016-03-13 21:47:44 +0100
commita2024d749790f94979ad1f7a02363ab53f7de518 (patch)
treea63c667d8972fe5d5a32d775b459b5873734a0cf /src/common
parentMerge pull request #1510 from wwylele/fix_pad (diff)
parentcommon_types: Make NonCopyable constructor constexpr (diff)
downloadyuzu-a2024d749790f94979ad1f7a02363ab53f7de518.tar
yuzu-a2024d749790f94979ad1f7a02363ab53f7de518.tar.gz
yuzu-a2024d749790f94979ad1f7a02363ab53f7de518.tar.bz2
yuzu-a2024d749790f94979ad1f7a02363ab53f7de518.tar.lz
yuzu-a2024d749790f94979ad1f7a02363ab53f7de518.tar.xz
yuzu-a2024d749790f94979ad1f7a02363ab53f7de518.tar.zst
yuzu-a2024d749790f94979ad1f7a02363ab53f7de518.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/common_types.h b/src/common/common_types.h
index fa3e0b8d6..9f51dff18 100644
--- a/src/common/common_types.h
+++ b/src/common/common_types.h
@@ -53,9 +53,9 @@ 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(NonCopyable&) = delete;
- NonCopyable& operator=(NonCopyable&) = delete;
+ NonCopyable(const NonCopyable&) = delete;
+ NonCopyable& operator=(const NonCopyable&) = delete;
};