Skip to content

Commit

Permalink
Cease dependence on MPL (splunk#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kojoley authored and JeffGarland committed Nov 21, 2019
1 parent 1a95e81 commit 061aec8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/boost/date_time/constrained_value.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <stdexcept>
#include <boost/config.hpp>
#include <boost/throw_exception.hpp>
#include <boost/mpl/if.hpp>
#include <boost/type_traits/conditional.hpp>
#include <boost/type_traits/is_base_of.hpp>

namespace boost {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 061aec8

Please sign in to comment.