From 4ff15aed8c88d3829fcb4ec8af7c2c8d8c2bf81f Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Sat, 22 Sep 2018 21:58:01 -0400 Subject: [PATCH] Remove dependency on MPL --- include/boost/scope_exit.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/boost/scope_exit.hpp b/include/boost/scope_exit.hpp index cc63b4b..8658322 100644 --- a/include/boost/scope_exit.hpp +++ b/include/boost/scope_exit.hpp @@ -12,8 +12,7 @@ #ifndef DOXYGEN #include -#include -#include +#include #include #include #include @@ -337,7 +336,7 @@ extern boost::scope_exit::detail::undeclared BOOST_SCOPE_EXIT_AUX_ARGS; #include #include -#include +#include #include #include @@ -448,7 +447,7 @@ struct msvc_register_type : msvc_extract_type { template struct msvc_typeid_wrapper { - typedef typename msvc_extract_type + typedef typename msvc_extract_type >::id2type id2type; typedef typename id2type::type type; }; @@ -462,7 +461,7 @@ template struct encode_type { BOOST_STATIC_CONSTANT(unsigned, value = encode_counter::count); typedef typename msvc_register_type >::id2type type; + boost::integral_constant >::id2type type; BOOST_STATIC_CONSTANT(unsigned, next = value + 1); };