mirror of https://github.com/axmolengine/axmol.git
- Corrected CC_DISALLOW_COPY_AND_ASSIGN.
This commit is contained in:
parent
41daad30fa
commit
03d64e0689
|
@ -243,8 +243,8 @@ public: virtual void set##funName(varType var) \
|
||||||
TypeName &operator =(const TypeName &) = delete;
|
TypeName &operator =(const TypeName &) = delete;
|
||||||
#else
|
#else
|
||||||
#define CC_DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
#define CC_DISALLOW_COPY_AND_ASSIGN(TypeName) \
|
||||||
Class(const TypeName &); \
|
TypeName(const TypeName &); \
|
||||||
Class &operator =(const TypeName &);
|
TypeName &operator =(const TypeName &);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// A macro to disallow all the implicit constructors, namely the
|
// A macro to disallow all the implicit constructors, namely the
|
||||||
|
|
Loading…
Reference in New Issue