Browse Source

Fixed to_string when used with GLM_FORCE_INLINE #506

Christophe Riccio 9 years ago
parent
commit
792151573c
2 changed files with 2 additions and 1 deletions
  1. 1 1
      glm/gtx/string_cast.inl
  2. 1 0
      readme.md

+ 1 - 1
glm/gtx/string_cast.inl

@@ -479,7 +479,7 @@ namespace detail
 }//namespace detail
 
 template <template <typename, precision> class matType, typename T, precision P>
-GLM_FUNC_DECL std::string to_string(matType<T, P> const & x)
+GLM_FUNC_QUALIFIER std::string to_string(matType<T, P> const & x)
 {
 	return detail::compute_to_string<matType, T, P>::call(x);
 }

+ 1 - 0
readme.md

@@ -56,6 +56,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
 - Fixed uaddCarry warning #497
 - Fixed roundPowerOfTwo and floorPowerOfTwo #503
 - Fixed Visual C++ SIMD instruction set automatic detection in 64 bits
+- Fixed to_string when used with GLM_FORCE_INLINE #506
 
 #### [GLM 0.9.7.4](https://github.com/g-truc/glm/releases/tag/0.9.7.4) - 2016-03-19
 ##### Fixes: