diff options
| author | 2016-03-12 21:57:18 -0500 | |
|---|---|---|
| committer | 2016-03-12 21:57:18 -0500 | |
| commit | 38376b833efb55a9cb452f22a783ae4411dd3926 (patch) | |
| tree | 5d6808af845f1b8b73d6949b8588cc1f423c9481 | |
| parent | common_types: Specify const in deleted copy constructor/assignment operator (diff) | |
| download | yuzu-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.h | 2 |
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 |
| 54 | class NonCopyable { | 54 | class NonCopyable { |
| 55 | protected: | 55 | protected: |
| 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; |