mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 09:14:34 +00:00
Removed restriction #if defined(GLM_FORCE_UNRESTRICTED_GENTYPE)
This commit is contained in:
parent
0dcb1e8a90
commit
1644f0f489
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user