diff --git a/src/Magnum/Magnum.h b/src/Magnum/Magnum.h index b9335ceed..deba6a7c5 100644 --- a/src/Magnum/Magnum.h +++ b/src/Magnum/Magnum.h @@ -48,12 +48,6 @@ typedef unsigned int GLenum; /* Needed for *Format and *Type enums */ namespace Magnum { -namespace Math { - #ifndef DOXYGEN_GENERATING_OUTPUT - template struct Constants; - #endif -} - /* Bring whole Corrade namespace */ using namespace Corrade; diff --git a/src/Magnum/Math/Math.h b/src/Magnum/Math/Math.h index 5af08c63e..d735a39b7 100644 --- a/src/Magnum/Math/Math.h +++ b/src/Magnum/Math/Math.h @@ -41,7 +41,7 @@ namespace Magnum { namespace Math { #ifndef DOXYGEN_GENERATING_OUTPUT template class BoolVector; -/* Class Constants used only statically */ +template class Constants; template class Complex; template class Dual;