diff --git a/src/Magnum/Math/Vector3.h b/src/Magnum/Math/Vector3.h index a89ee27d8..0d720d23d 100644 --- a/src/Magnum/Math/Vector3.h +++ b/src/Magnum/Math/Vector3.h @@ -287,13 +287,12 @@ template class Vector3: public Vector<3, T> { _MAGNUM_VECTORn_OPERATOR_IMPLEMENTATION(3, Vector3) #endif -#ifndef MAGNUM_NO_MATH_STRICT_WEAK_ORDERING namespace Implementation { template struct TypeForSize<3, T> { typedef Math::Vector3 Type; }; - + #ifndef MAGNUM_NO_MATH_STRICT_WEAK_ORDERING template struct StrictWeakOrdering>: StrictWeakOrdering> {}; + #endif } -#endif }} diff --git a/src/Magnum/Math/Vector4.h b/src/Magnum/Math/Vector4.h index 903961387..0fe1ee322 100644 --- a/src/Magnum/Math/Vector4.h +++ b/src/Magnum/Math/Vector4.h @@ -314,13 +314,12 @@ template Vector4 planeEquation(const Vector3& normal, const Vecto return {normal, -Math::dot(normal, point)}; } -#ifndef MAGNUM_NO_MATH_STRICT_WEAK_ORDERING namespace Implementation { template struct TypeForSize<4, T> { typedef Math::Vector4 Type; }; - + #ifndef MAGNUM_NO_MATH_STRICT_WEAK_ORDERING template struct StrictWeakOrdering>: StrictWeakOrdering> {}; + #endif } -#endif }}