mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 02:34:35 +00:00
Fixed compiler warnings for g++ 6.2
This commit is contained in:
parent
ef4425a61d
commit
3f906960db
@ -101,7 +101,7 @@ namespace detail
|
|||||||
GLM_FUNC_QUALIFIER static genFIType call(genFIType x)
|
GLM_FUNC_QUALIFIER static genFIType call(genFIType x)
|
||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(
|
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");
|
"'abs' only accept floating-point and integer scalar or vector inputs");
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user