From 061aec856d4fdb2b53cc17cfa565b4e1c923b62a Mon Sep 17 00:00:00 2001 From: Nikita Kniazev Date: Thu, 21 Nov 2019 17:28:47 +0300 Subject: [PATCH] Cease dependence on MPL (#115) --- include/boost/date_time/constrained_value.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/date_time/constrained_value.hpp b/include/boost/date_time/constrained_value.hpp index b1122d76d..cba6461ba 100644 --- a/include/boost/date_time/constrained_value.hpp +++ b/include/boost/date_time/constrained_value.hpp @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include namespace boost { @@ -95,8 +95,8 @@ namespace CV { } }; - typedef typename mpl::if_< - is_base_of< std::exception, exception_type >, + typedef typename conditional< + is_base_of< std::exception, exception_type >::value, exception_type, exception_wrapper >::type actual_exception_type;