From 5ac8201c08c57d7521727a94db91040d798eac36 Mon Sep 17 00:00:00 2001 From: Patrick McMorris Date: Tue, 21 Oct 2014 20:12:20 -0700 Subject: [PATCH] Fix minor issues causing build errors --- glm/detail/func_common.inl | 2 +- glm/detail/func_integer.inl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index 2fe3aaa7..fa9ac5ed 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -830,7 +830,7 @@ namespace detail } template - GLM_FUNC_QUALIFIER tvec3 ldexp(tvec3 const & x, tvec3 const & exps) + GLM_FUNC_QUALIFIER tvec3 ldexp(tvec3 const & x, tvec3 const & exp) { GLM_STATIC_ASSERT(std::numeric_limits::is_iec559, "'ldexp' only accept floating-point inputs"); diff --git a/glm/detail/func_integer.inl b/glm/detail/func_integer.inl index 60c224c6..9204a876 100644 --- a/glm/detail/func_integer.inl +++ b/glm/detail/func_integer.inl @@ -251,7 +251,7 @@ namespace glm { GLM_STATIC_ASSERT(std::numeric_limits::is_integer, "'bitCount' only accept integer values"); - return bitCount(tvec1(x)).x; + return bitCount(tvec1(x)).x; } template class vecType> @@ -284,7 +284,7 @@ namespace glm template class vecType> GLM_FUNC_QUALIFIER vecType findLSB(vecType const & x) { - GLM_STATIC_ASSERT(std::numeric_limits::is_integer, "'findLSB' only accept integer values"); + GLM_STATIC_ASSERT(std::numeric_limits::is_integer, "'findLSB' only accept integer values"); return detail::functor1::call(findLSB, x); }