Browse Source

Workaround GCC compiler bug with constexpr support

Christophe Riccio 9 years ago
parent
commit
92a46735d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/detail/type_vec4_simd.inl

+ 1 - 1
glm/detail/type_vec4_simd.inl

@@ -44,7 +44,7 @@ namespace glm
 #	endif//!GLM_HAS_DEFAULTED_FUNCTIONS
 #	endif//!GLM_HAS_DEFAULTED_FUNCTIONS
 
 
 	template <>
 	template <>
-	GLM_FUNC_QUALIFIER GLM_CONSTEXPR tvec4<float, simd>::tvec4(float s) :
+	GLM_FUNC_QUALIFIER GLM_CONSTEXPR_GCC tvec4<float, simd>::tvec4(float s) :
 		data(_mm_set1_ps(s))
 		data(_mm_set1_ps(s))
 	{}
 	{}