Merge pull request #580 from mgerhardy/patch-1

Fixed compiler warnings  for g++ 6.2 #580
This commit is contained in:
Christophe 2016-11-24 19:28:17 +01:00 committed by GitHub
commit 9d411922ed

View file

@ -101,7 +101,7 @@ namespace detail
GLM_FUNC_QUALIFIER static genFIType call(genFIType x)
{
GLM_STATIC_ASSERT(
!std::numeric_limits<genFIType>::is_signed && std::numeric_limits<genFIType>::is_integer || GLM_UNRESTRICTED_GENTYPE,
(!std::numeric_limits<genFIType>::is_signed && std::numeric_limits<genFIType>::is_integer) || GLM_UNRESTRICTED_GENTYPE,
"'abs' only accept floating-point and integer scalar or vector inputs");
return x;
}