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; } };