From 64fffa0f9771094244a894c0e986f78a408f1b1b Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Sun, 12 Apr 2020 13:00:59 -0400 Subject: [PATCH] Simplify BOOST_OPERATORS_CONSTEXPR definition --- include/boost/operators.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/boost/operators.hpp b/include/boost/operators.hpp index 6b3b028..7dce7df 100644 --- a/include/boost/operators.hpp +++ b/include/boost/operators.hpp @@ -110,12 +110,8 @@ #endif // operator-> not begin a UDT // Define BOOST_OPERATORS_CONSTEXPR to be like BOOST_CONSTEXPR but empty under MSVC < v19.22 -#ifdef BOOST_MSVC -#if BOOST_MSVC_FULL_VER >= 192200000 -#define BOOST_OPERATORS_CONSTEXPR constexpr -#else +#if BOOST_WORKAROUND(BOOST_MSVC, < 1922) #define BOOST_OPERATORS_CONSTEXPR -#endif #else #define BOOST_OPERATORS_CONSTEXPR BOOST_CONSTEXPR #endif