mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-26 21:58:39 +01:00
12 lines
270 B
C
12 lines
270 B
C
|
|
|
|
#ifndef CPPUNIT_GUARDS_H
|
|
#define CPPUNIT_GUARDS_H
|
|
|
|
// Prevent copy construction and assignment for a class
|
|
#define REFERENCEOBJECT(className) \
|
|
private: \
|
|
className (const className& other); \
|
|
className& operator= (const className& other);
|
|
|
|
#endif
|