From 007a97216a7c8dc900338c83eed92131f32c0506 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 17 Aug 2017 13:22:50 +0200 Subject: [PATCH] Tentative fix for GCC 6 --- glm/detail/func_common.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index ee40be7d..bdcb4cfe 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -652,7 +652,7 @@ namespace detail { GLM_STATIC_ASSERT(std::numeric_limits::is_iec559, "'isnan' only accept floating-point inputs"); - return detail::functor1::call(isnan, x); + return detail::functor1::call(glm::isnan, x); } # if GLM_HAS_CXX11_STL @@ -691,7 +691,7 @@ namespace detail { GLM_STATIC_ASSERT(std::numeric_limits::is_iec559, "'isnan' only accept floating-point inputs"); - return detail::functor1::call(isinf, x); + return detail::functor1::call(glm::isinf, x); } GLM_FUNC_QUALIFIER int floatBitsToInt(float const& v)