Browse Source

Fix build

christophe 2 years ago
parent
commit
edc5e624df
2 changed files with 2 additions and 2 deletions
  1. 1 1
      glm/common.hpp
  2. 1 1
      glm/detail/func_common.inl

+ 1 - 1
glm/common.hpp

@@ -404,7 +404,7 @@ namespace glm
 	///
 	/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/floatBitsToInt.xml">GLSL floatBitsToInt man page</a>
 	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.3 Common Functions</a>
-	GLM_FUNC_DECL int floatBitsToInt(float const& v);
+	GLM_FUNC_DECL int floatBitsToInt(float v);
 
 	/// Returns a signed integer value representing
 	/// the encoding of a floating-point value. The floatingpoint

+ 1 - 1
glm/detail/func_common.inl

@@ -700,7 +700,7 @@ namespace detail
 		return detail::functor1<vec, L, uint, float, Q>::call(floatBitsToUint, v);
 	}
 
-	GLM_FUNC_QUALIFIER float intBitsToFloat(int const& v)
+	GLM_FUNC_QUALIFIER float intBitsToFloat(int v)
 	{
 		union
 		{