From c54e4902b96b16803275aac843df583524e900e2 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 13 Oct 2011 19:29:36 +0100 Subject: [PATCH] Fixed static assert --- glm/core/func_exponential.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/core/func_exponential.inl b/glm/core/func_exponential.inl index 10960c0f..a9a5a8c0 100644 --- a/glm/core/func_exponential.inl +++ b/glm/core/func_exponential.inl @@ -232,7 +232,7 @@ namespace detail template 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 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 for integer types support. Others types are not supported."); return Value; } };