瀏覽代碼

vector_math: remove dead template parameter

wwylele 9 年之前
父節點
當前提交
fe44e843fe
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
     }