Browse Source

Removed DISABLE_COPY() macro, as it is already in Corrade.

vectorfields
Vladimír Vondruš 15 years ago
parent
commit
0c262dc0bd
  1. 13
      src/Magnum.h

13
src/Magnum.h

@ -41,17 +41,6 @@ typedef Math::Matrix3<GLfloat> Matrix3;
/** @brief 4x4 floating-point matrix */
typedef Math::Matrix4<GLfloat> Matrix4;
/**
* @brief Disable copying of given class
* @param class Class name
*
* Makes copy constructor and assignment operator private, so the class cannot
* be copied. Should be placed at the beginning of class definition.
*/
#define DISABLE_COPY(class) \
class(const class&); \
class& operator=(const class&);
}
#endif
#endif

Loading…
Cancel
Save