Removed restriction #if defined(GLM_FORCE_UNRESTRICTED_GENTYPE)

This commit is contained in:
Christophe Riccio 2018-07-23 18:59:09 +02:00
parent 0dcb1e8a90
commit 1644f0f489

View File

@ -226,9 +226,7 @@
#endif #endif
// N2346 // N2346
#if defined(GLM_FORCE_UNRESTRICTED_GENTYPE) #if GLM_COMPILER & GLM_COMPILER_CLANG
# define GLM_HAS_DEFAULTED_FUNCTIONS 0
#elif GLM_COMPILER & GLM_COMPILER_CLANG
# define GLM_HAS_DEFAULTED_FUNCTIONS __has_feature(cxx_defaulted_functions) # define GLM_HAS_DEFAULTED_FUNCTIONS __has_feature(cxx_defaulted_functions)
#elif GLM_LANG & GLM_LANG_CXX11_FLAG #elif GLM_LANG & GLM_LANG_CXX11_FLAG
# define GLM_HAS_DEFAULTED_FUNCTIONS 1 # define GLM_HAS_DEFAULTED_FUNCTIONS 1