From 1f89d5d184ab3a034c1501ad3e9844d787cbae41 Mon Sep 17 00:00:00 2001 From: wwylele Date: Thu, 12 Nov 2015 20:31:31 +0200 Subject: fix failure on gcc and clang --- src/common/vector_math.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common/vector_math.h') diff --git a/src/common/vector_math.h b/src/common/vector_math.h index 816ad4e33..02688e35e 100644 --- a/src/common/vector_math.h +++ b/src/common/vector_math.h @@ -91,7 +91,7 @@ public: { x-=other.x; y-=other.y; } - template::value>::type> + template::value>::type> Vec2 operator -() const { return MakeVec(-x,-y); @@ -222,7 +222,7 @@ public: { x-=other.x; y-=other.y; z-=other.z; } - template::value>::type> + template::value>::type> Vec3 operator -() const { return MakeVec(-x,-y,-z); @@ -393,7 +393,7 @@ public: { x-=other.x; y-=other.y; z-=other.z; w-=other.w; } - template::value>::type> + template::value>::type> Vec4 operator -() const { return MakeVec(-x,-y,-z,-w); -- cgit v1.2.3