diff options
author | 2015-12-03 15:54:13 +0100 | |
---|---|---|
committer | 2015-12-03 15:54:13 +0100 | |
commit | 5232ca932afe0acc8c3ef2bd3599e04a8c7def69 (patch) | |
tree | b6b61ddb3379c1bc53cd0f7eb13e077dcbeccd2f /src | |
parent | 016d610e37ea6814ea7db9cdd01e183afb53598a (diff) |
force delete of copy constructor and operator = (nw)
Diffstat (limited to 'src')
-rw-r--r-- | src/emu/emucore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/emucore.h b/src/emu/emucore.h index df5eb2870ce..c26b0423493 100644 --- a/src/emu/emucore.h +++ b/src/emu/emucore.h @@ -193,8 +193,8 @@ const endianness_t ENDIANNESS_NATIVE = ENDIANNESS_BIG; // macro for defining a copy constructor and assignment operator to prevent copying #define DISABLE_COPYING(_Type) \ private: \ - _Type(const _Type &); \ - _Type &operator=(const _Type &) + _Type(const _Type &) = delete; \ + _Type &operator=(const _Type &) = delete // macro for declaring enumerator operators that increment/decrement like plain old C #define DECLARE_ENUM_OPERATORS(_Type) \ |