Workaround GCC compiler bug with constexpr support

This commit is contained in:
Christophe Riccio 2016-05-05 20:05:31 +02:00
parent 71401d14aa
commit 92a46735d6

View File

@ -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))
{} {}