From 1644f0f489a86817f8ef3b6feed84760fe3b52fe Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 23 Jul 2018 18:59:09 +0200 Subject: [PATCH] Removed restriction #if defined(GLM_FORCE_UNRESTRICTED_GENTYPE) --- glm/detail/setup.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index a4f5f6fb..351323dd 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -226,9 +226,7 @@ #endif // N2346 -#if defined(GLM_FORCE_UNRESTRICTED_GENTYPE) -# define GLM_HAS_DEFAULTED_FUNCTIONS 0 -#elif GLM_COMPILER & GLM_COMPILER_CLANG +#if GLM_COMPILER & GLM_COMPILER_CLANG # define GLM_HAS_DEFAULTED_FUNCTIONS __has_feature(cxx_defaulted_functions) #elif GLM_LANG & GLM_LANG_CXX11_FLAG # define GLM_HAS_DEFAULTED_FUNCTIONS 1