diff --git a/src/TypeTraits.h b/src/TypeTraits.h index 37dae7f43..5a1310502 100644 --- a/src/TypeTraits.h +++ b/src/TypeTraits.h @@ -231,7 +231,7 @@ template<> struct TypeTraits: public Math::MathTypeTraits { }; #endif -template struct TypeTraits> { +template struct TypeTraits> { inline constexpr static Type type() { return TypeTraits::type(); } /* Can not be used for indices */ /* Can not be used for images */ @@ -247,7 +247,7 @@ template struct TypeTraits>: public TypeTraits struct TypeTraits>: public TypeTraits> {}; template struct TypeTraits>: public TypeTraits> {}; -template struct TypeTraits> { +template struct TypeTraits> { inline constexpr static Type type() { return TypeTraits::type(); } /* Can not be used for indices */ /* Can not be used for images */