Sfoglia il codice sorgente

vector_math: remove dead template parameter

wwylele 9 anni fa
parent
commit
fe44e843fe
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/common/vector_math.h

+ 1 - 1
src/common/vector_math.h

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