blob: c9e32d7cfccadeb92cec246dc74314fe13f705ce (
plain)
1
2
3
4
5
6
7
8
9
10
|
#ifndef MIXXX_UTIL_CLASS_H
#define MIXXX_UTIL_CLASS_H
// A macro to disallow the copy constructor and operator= functions
// 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 /* MIXXX_UTIL_CLASS_H */
|