From 6172f9a30e6d985f6710000b7adfb3991da86927 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 8 Apr 2018 14:00:37 +0100 Subject: [PATCH] Use type traits' true type in boost::blank --- include/boost/blank.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/blank.hpp b/include/boost/blank.hpp index d0fe5ab..918723c 100644 --- a/include/boost/blank.hpp +++ b/include/boost/blank.hpp @@ -20,7 +20,7 @@ #include "boost/detail/templated_streams.hpp" #endif // BOOST_NO_IOSTREAM -#include "boost/mpl/bool.hpp" +#include "boost/type_traits/integral_constant.hpp" #include "boost/type_traits/is_empty.hpp" #include "boost/type_traits/is_pod.hpp" #include "boost/type_traits/is_stateless.hpp" @@ -36,19 +36,19 @@ struct blank template <> struct is_pod< blank > - : mpl::true_ + : boost::true_type { }; template <> struct is_empty< blank > - : mpl::true_ + : boost::true_type { }; template <> struct is_stateless< blank > - : mpl::true_ + : boost::true_type { };