Browse Source

Math: provide forward declaration for Constants.

No point in having it repeated in Magnum.h, since we include Math/Math.h
anyway.
simd
Vladimír Vondruš 8 years ago
parent
commit
c5d31d74e3
  1. 6
      src/Magnum/Magnum.h
  2. 2
      src/Magnum/Math/Math.h

6
src/Magnum/Magnum.h

@ -48,12 +48,6 @@ typedef unsigned int GLenum; /* Needed for *Format and *Type enums */
namespace Magnum { namespace Magnum {
namespace Math {
#ifndef DOXYGEN_GENERATING_OUTPUT
template<class> struct Constants;
#endif
}
/* Bring whole Corrade namespace */ /* Bring whole Corrade namespace */
using namespace Corrade; using namespace Corrade;

2
src/Magnum/Math/Math.h

@ -41,7 +41,7 @@ namespace Magnum { namespace Math {
#ifndef DOXYGEN_GENERATING_OUTPUT #ifndef DOXYGEN_GENERATING_OUTPUT
template<std::size_t> class BoolVector; template<std::size_t> class BoolVector;
/* Class Constants used only statically */ template<class> class Constants;
template<class> class Complex; template<class> class Complex;
template<class> class Dual; template<class> class Dual;

Loading…
Cancel
Save