summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2016-03-12 21:57:18 -0500
committerGravatar Lioncash2016-03-12 21:57:18 -0500
commit38376b833efb55a9cb452f22a783ae4411dd3926 (patch)
tree5d6808af845f1b8b73d6949b8588cc1f423c9481
parentcommon_types: Specify const in deleted copy constructor/assignment operator (diff)
downloadyuzu-38376b833efb55a9cb452f22a783ae4411dd3926.tar.gz
yuzu-38376b833efb55a9cb452f22a783ae4411dd3926.tar.xz
yuzu-38376b833efb55a9cb452f22a783ae4411dd3926.zip
common_types: Make NonCopyable constructor constexpr
Diffstat (limited to '')
-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 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
53// An inheritable class to disallow the copy constructor and operator= functions 53// An inheritable class to disallow the copy constructor and operator= functions
54class NonCopyable { 54class NonCopyable {
55protected: 55protected:
56 NonCopyable() = default; 56 constexpr NonCopyable() = default;
57 ~NonCopyable() = default; 57 ~NonCopyable() = default;
58 58
59 NonCopyable(const NonCopyable&) = delete; 59 NonCopyable(const NonCopyable&) = delete;