diff --git a/libs/math/include/math/vec2.h b/libs/math/include/math/vec2.h index aaa0f30a84..141243adfc 100644 --- a/libs/math/include/math/vec2.h +++ b/libs/math/include/math/vec2.h @@ -73,7 +73,7 @@ public: constexpr TVec2() = default; // handles implicit conversion to a tvec4. must not be explicit. - template::value >::type> + template constexpr TVec2(A v) : x(v), y(v) { } template diff --git a/libs/math/include/math/vec3.h b/libs/math/include/math/vec3.h index ac541fe4c9..f8abf3bee0 100644 --- a/libs/math/include/math/vec3.h +++ b/libs/math/include/math/vec3.h @@ -86,7 +86,7 @@ public: constexpr TVec3() = default; // handles implicit conversion to a tvec4. must not be explicit. - template::value >::type> + template constexpr TVec3(A v) : x(v), y(v), z(v) { } template diff --git a/libs/math/include/math/vec4.h b/libs/math/include/math/vec4.h index 6c82c2efca..9a9eafa79c 100644 --- a/libs/math/include/math/vec4.h +++ b/libs/math/include/math/vec4.h @@ -85,7 +85,7 @@ public: constexpr TVec4() = default; // handles implicit conversion to a tvec4. must not be explicit. - template::value >::type> + template constexpr TVec4(A v) : x(v), y(v), z(v), w(v) { } template