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) \