From be57f3c000e1f452d43206ed89280d029155bda7 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 8 Apr 2018 14:32:01 +0100 Subject: [PATCH] Remove mpl dependency from allocator_utilities.hpp --- include/boost/detail/allocator_utilities.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/boost/detail/allocator_utilities.hpp b/include/boost/detail/allocator_utilities.hpp index 11eecbe..b9778a9 100644 --- a/include/boost/detail/allocator_utilities.hpp +++ b/include/boost/detail/allocator_utilities.hpp @@ -11,7 +11,7 @@ #include /* keep it first to prevent nasty warns in MSVC */ #include -#include +#include #include #include #include @@ -142,11 +142,12 @@ struct compliant_allocator_rebind_to template struct rebind_to: - mpl::eval_if_c< - is_partial_std_allocator::value, + boost::detail::if_true< + is_partial_std_allocator::value + >::template then< partial_std_allocator_rebind_to, compliant_allocator_rebind_to - > + >::type { };