From e63282c9a20f1c951ca095e2b2bb174c9dc83f32 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Fri, 19 Apr 2019 16:41:31 -0700 Subject: [PATCH] removed unnecessary arithmetic check --- libs/math/include/math/vec2.h | 2 +- libs/math/include/math/vec3.h | 2 +- libs/math/include/math/vec4.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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