Browse Source

Fixed static assert

Christophe Riccio 14 years ago
parent
commit
c54e4902b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/core/func_exponential.inl

+ 1 - 1
glm/core/func_exponential.inl

@@ -232,7 +232,7 @@ namespace detail
 		template <typename T>
 		T operator() (T const & Value) const
 		{
-			static_assert(0, "'log2' parameter has an invalid template parameter type. GLM core features only supports floating-point types, include <glm/gtx/integer.hpp> for integer types support. Others types are not supported.");
+			GLM_STATIC_ASSERT(0, "'log2' parameter has an invalid template parameter type. GLM core features only supports floating-point types, include <glm/gtx/integer.hpp> for integer types support. Others types are not supported.");
 			return Value;
 		}
 	};