diff --git a/glm/fwd.hpp b/glm/fwd.hpp index 2f9ebe05..852996f1 100644 --- a/glm/fwd.hpp +++ b/glm/fwd.hpp @@ -11,10 +11,10 @@ #include "detail/type_mat.hpp" namespace glm { - template struct is_vec { + template struct is_vec { template class vecType> static int8 test(vecType*); static int16 test(...); - enum { value = sizeof(test((T*)0)) == sizeof(int8) }; + enum { value = sizeof(test((X*)0)) == sizeof(int8) }; }; template struct meta_if { typedef T type; }; template struct meta_if {};