mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-02 07:31:37 +02:00
20 lines
373 B
C
20 lines
373 B
C
//
|
|
// Guards.h
|
|
//
|
|
// $Id: //poco/Main/CppUnit/include/CppUnit/Guards.h#5 $
|
|
//
|
|
|
|
|
|
#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
|