Tentative fix for GCC 6

master
Christophe Riccio ago%!(EXTRA string=8 years)
parent 990222edfe
commit 007a97216a
  1. 4
      glm/detail/func_common.inl

@ -652,7 +652,7 @@ namespace detail
{ {
GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'isnan' only accept floating-point inputs"); GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'isnan' only accept floating-point inputs");
return detail::functor1<L, bool, T, Q>::call(isnan, x); return detail::functor1<L, bool, T, Q>::call(glm::isnan, x);
} }
# if GLM_HAS_CXX11_STL # if GLM_HAS_CXX11_STL
@ -691,7 +691,7 @@ namespace detail
{ {
GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'isnan' only accept floating-point inputs"); GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'isnan' only accept floating-point inputs");
return detail::functor1<L, bool, T, Q>::call(isinf, x); return detail::functor1<L, bool, T, Q>::call(glm::isinf, x);
} }
GLM_FUNC_QUALIFIER int floatBitsToInt(float const& v) GLM_FUNC_QUALIFIER int floatBitsToInt(float const& v)

Loading…
Cancel
Save