removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class
This commit is contained in:
parent
451a14f98c
commit
a48c6b947d
8 changed files with 2 additions and 21 deletions
|
@ -159,9 +159,4 @@ enum EMUSTATE_CHANGE
|
|||
EMUSTATE_CHANGE_STOP
|
||||
};
|
||||
|
||||
// This should be used in the private: declarations for a class
|
||||
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
||||
TypeName(const TypeName&); \
|
||||
void operator=(const TypeName&)
|
||||
|
||||
#endif // _COMMON_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue