From 46d383b3bd4b9edcce19f8a2fc3ec29c2931fda4 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 18 Sep 2018 22:30:56 +0300 Subject: [PATCH] Revert "Disable constexpr on msvc-14.1" This reverts commit 3bdea5dfa3b85bde0aad2c7c7d4c31e18eaf9ed8. --- include/boost/system/error_code.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/boost/system/error_code.hpp b/include/boost/system/error_code.hpp index 251ddce..8c433d3 100644 --- a/include/boost/system/error_code.hpp +++ b/include/boost/system/error_code.hpp @@ -58,12 +58,6 @@ # undef BOOST_SYSTEM_HAS_CONSTEXPR #endif -#if defined(BOOST_MSVC) && BOOST_MSVC < 1920 -// msvc-14.1 does not implement correct static initialization for -// classes with constexpr constructors -# undef BOOST_SYSTEM_HAS_CONSTEXPR -#endif - #if defined(BOOST_SYSTEM_HAS_CONSTEXPR) # define BOOST_SYSTEM_CONSTEXPR constexpr #else