From 5eac74c4dad648eccf178f626be1f4b6130d19a1 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 11 Jan 2012 17:14:03 +0000 Subject: [PATCH] Fixed ticket #163, missing inlines --- glm/gtx/integer.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/gtx/integer.inl b/glm/gtx/integer.inl index fe630dca..2f2535b4 100644 --- a/glm/gtx/integer.inl +++ b/glm/gtx/integer.inl @@ -58,7 +58,7 @@ namespace _detail struct _compute_log2 { template - T operator() (T const & Value) const + GLM_FUNC_QUALIFIER T operator() (T const & Value) const { #if(GLM_COMPILER & GLM_COMPILER_VC) return Value <= T(1) ? T(0) : T(32) - nlz(Value - T(1)); @@ -73,7 +73,7 @@ namespace _detail }//namespace _detail // Henry Gordon Dietz: http://aggregate.org/MAGIC/ - unsigned int floor_log2(unsigned int x) + GLM_FUNC_QUALIFIER unsigned int floor_log2(unsigned int x) { x |= (x >> 1); x |= (x >> 2);