Force DISABLE_COPYING() to be in private: class section.

This commit is contained in:
David Capello 2010-09-29 16:54:25 -03:00
parent 818e286c84
commit 7643b87cc3

View File

@ -8,7 +8,8 @@
#define BASE_DISABLE_COPYING_H_INCLUDED
#define DISABLE_COPYING(ClassName) \
ClassName(const ClassName&); \
ClassName& operator=(const ClassName&);
private: \
ClassName(const ClassName&); \
ClassName& operator=(const ClassName&);
#endif