From 269de2691a6cfe38c5254fe090029f1a8bcb7ae0 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Mon, 7 Jul 2014 22:22:28 +0400 Subject: [PATCH] Added a workaround for boost/token_iteratpr.hpp which uses an implementation detail of this library. --- include/boost/iterator/detail/minimum_category.hpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/boost/iterator/detail/minimum_category.hpp b/include/boost/iterator/detail/minimum_category.hpp index dc9af5b..68a41a5 100644 --- a/include/boost/iterator/detail/minimum_category.hpp +++ b/include/boost/iterator/detail/minimum_category.hpp @@ -89,6 +89,15 @@ struct minimum_category BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC(2,minimum_category,(mpl::_1,mpl::_2)) }; -}}} // namespace boost::iterators::detail +} // namespace detail +} // namespace iterators + +// This import below is for backward compatibility with boost/token_iterator.hpp. +// It should be removed as soon as that header is fixed. +namespace detail { +using iterators::detail::minimum_category; +} // namespace detail + +} // namespace boost #endif // MINIMUM_CATEGORY_DWA20031119_HPP