From 92a46735d6f130b9c84477cccc369c05d81adeab Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 5 May 2016 20:05:31 +0200 Subject: [PATCH] Workaround GCC compiler bug with constexpr support --- glm/detail/type_vec4_simd.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/type_vec4_simd.inl b/glm/detail/type_vec4_simd.inl index 9dcb2158..6ddc21a6 100644 --- a/glm/detail/type_vec4_simd.inl +++ b/glm/detail/type_vec4_simd.inl @@ -44,7 +44,7 @@ namespace glm # endif//!GLM_HAS_DEFAULTED_FUNCTIONS template <> - GLM_FUNC_QUALIFIER GLM_CONSTEXPR tvec4::tvec4(float s) : + GLM_FUNC_QUALIFIER GLM_CONSTEXPR_GCC tvec4::tvec4(float s) : data(_mm_set1_ps(s)) {}