- Corrected CC_DISALLOW_COPY_AND_ASSIGN.

This commit is contained in:
signmotion 2013-11-29 20:34:15 +02:00
parent 41daad30fa
commit 03d64e0689
1 changed files with 2 additions and 2 deletions

View File

@ -243,8 +243,8 @@ public: virtual void set##funName(varType var) \
TypeName &operator =(const TypeName &) = delete;
#else
#define CC_DISALLOW_COPY_AND_ASSIGN(TypeName) \
Class(const TypeName &); \
Class &operator =(const TypeName &);
TypeName(const TypeName &); \
TypeName &operator =(const TypeName &);
#endif
// A macro to disallow all the implicit constructors, namely the