1
0
Fork 0
forked from suyu/suyu

vector_math: remove dead template parameter

This commit is contained in:
wwylele 2017-07-11 20:08:56 +03:00
parent efc655aec0
commit fe44e843fe

View file

@ -461,7 +461,7 @@ public:
z -= other.z; z -= other.z;
w -= other.w; w -= other.w;
} }
template <typename Q = T>
Vec4<decltype(-T{})> operator-() const { Vec4<decltype(-T{})> operator-() const {
return MakeVec(-x, -y, -z, -w); return MakeVec(-x, -y, -z, -w);
} }