diff --git a/glm/detail/type_vec4_simd.inl b/glm/detail/type_vec4_simd.inl index 2ad15e8b..21504f03 100644 --- a/glm/detail/type_vec4_simd.inl +++ b/glm/detail/type_vec4_simd.inl @@ -341,9 +341,23 @@ namespace detail # if !GLM_HAS_DEFAULTED_FUNCTIONS template <> - GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4() + GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4() # ifndef GLM_FORCE_NO_CTOR_INIT : data(_mm_setzero_ps()) +# endif + {} + + template <> + GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4() +# ifndef GLM_FORCE_NO_CTOR_INIT + : data(_mm_setzero_ps()) +# endif + {} + + template <> + GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4() +# ifndef GLM_FORCE_NO_CTOR_INIT + : data(_mm_setzero_ps()) # endif {} # endif//!GLM_HAS_DEFAULTED_FUNCTIONS