mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
force delete of copy constructor and operator = (nw)
This commit is contained in:
parent
016d610e37
commit
5232ca932a
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user