mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-31 22:45:36 +01:00
18 lines
313 B
C
18 lines
313 B
C
//
|
|
// Guards.h
|
|
//
|
|
|
|
|
|
#ifndef CppUnit_Guards_INCLUDED
|
|
#define CppUnit_Guards_INCLUDED
|
|
|
|
|
|
// Prevent copy construction and assignment for a class
|
|
#define REFERENCEOBJECT(className) \
|
|
private: \
|
|
className(const className& other); \
|
|
className& operator = (const className& other);
|
|
|
|
|
|
#endif // CppUnit_Guards_INCLUDED
|