From 94f685c1117eb8a63139da0427a3824560625240 Mon Sep 17 00:00:00 2001 From: Tim R Date: Sun, 31 Mar 2019 15:00:24 -0700 Subject: [PATCH] Update setup.hpp --- glm/detail/setup.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index 3295d6ec..e2c4c4e1 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -297,14 +297,14 @@ #if GLM_HAS_CONSTEXPR # if (GLM_COMPILER & GLM_COMPILER_CLANG ) # if __has_feature(cxx_if_constexpr) -# define GLM_IF_CONSTEXPR constexpr +# define GLM_IF_CONSTEXPR if constexpr # else -# define GLM_IF_CONSTEXPR +# define GLM_IF_CONSTEXPR if # endif # elif GLM_LANG_CXX17_FLAG -# define GLM_IF_CONSTEXPR constexpr +# define GLM_IF_CONSTEXPR if constexpr # else -# define GLM_IF_CONSTEXPR +# define GLM_IF_CONSTEXPR if #endif //