diff --git a/example/rearrange.cpp b/example/rearrange.cpp index 3138851..97edd4e 100644 --- a/example/rearrange.cpp +++ b/example/rearrange.cpp @@ -1,6 +1,6 @@ /* Boost.MultiIndex example of use of rearrange facilities. * - * Copyright 2003-2015 Joaquin M Lopez Munoz. + * Copyright 2003-2020 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) @@ -14,7 +14,6 @@ #endif #include -#include #include #include #include @@ -140,11 +139,11 @@ void riffle_shuffle( { static boost::mt19937 rnd_gen; - typedef typename boost::detail::iterator_traits< - RandomAccessIterator>::difference_type difference_type; + typedef typename std::iterator_traits< + RandomAccessIterator>::difference_type difference_type; typedef boost::binomial_distribution< - difference_type> rnd_cut_select_type; - typedef boost::uniform_real<> rnd_deck_select_type; + difference_type> rnd_cut_select_type; + typedef boost::uniform_real<> rnd_deck_select_type; rnd_cut_select_type cut_select(last-first); RandomAccessIterator middle=first+cut_select(rnd_gen); diff --git a/include/boost/multi_index/detail/archive_constructed.hpp b/include/boost/multi_index/detail/archive_constructed.hpp index 0a7a26e..d7bac4a 100644 --- a/include/boost/multi_index/detail/archive_constructed.hpp +++ b/include/boost/multi_index/detail/archive_constructed.hpp @@ -1,4 +1,4 @@ -/* Copyright 2003-2016 Joaquin M Lopez Munoz. +/* Copyright 2003-2020 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) @@ -14,7 +14,7 @@ #endif #include /* keep it first to prevent nasty warns in MSVC */ -#include +#include #include #include #include diff --git a/include/boost/multi_index/detail/copy_map.hpp b/include/boost/multi_index/detail/copy_map.hpp index 6414942..a0d5896 100644 --- a/include/boost/multi_index/detail/copy_map.hpp +++ b/include/boost/multi_index/detail/copy_map.hpp @@ -16,7 +16,7 @@ #include /* keep it first to prevent nasty warns in MSVC */ #include #include -#include +#include #include #include #include diff --git a/include/boost/multi_index/detail/index_base.hpp b/include/boost/multi_index/detail/index_base.hpp index 2d98b56..24522a6 100644 --- a/include/boost/multi_index/detail/index_base.hpp +++ b/include/boost/multi_index/detail/index_base.hpp @@ -15,7 +15,7 @@ #include /* keep it first to prevent nasty warns in MSVC */ #include -#include +#include #include #include #include diff --git a/include/boost/multi_index/detail/ord_index_impl.hpp b/include/boost/multi_index/detail/ord_index_impl.hpp index 2d95685..c95f4a2 100644 --- a/include/boost/multi_index/detail/ord_index_impl.hpp +++ b/include/boost/multi_index/detail/ord_index_impl.hpp @@ -44,7 +44,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/include/boost/multi_index/detail/safe_mode.hpp b/include/boost/multi_index/detail/safe_mode.hpp index eb8913e..b5eec31 100644 --- a/include/boost/multi_index/detail/safe_mode.hpp +++ b/include/boost/multi_index/detail/safe_mode.hpp @@ -113,7 +113,6 @@ #if defined(BOOST_MULTI_INDEX_ENABLE_SAFE_MODE) #include /* keep it first to prevent nasty warns in MSVC */ #include -#include #include #include #include diff --git a/include/boost/multi_index/detail/scope_guard.hpp b/include/boost/multi_index/detail/scope_guard.hpp index 116f8f5..23c5363 100644 --- a/include/boost/multi_index/detail/scope_guard.hpp +++ b/include/boost/multi_index/detail/scope_guard.hpp @@ -1,4 +1,4 @@ -/* Copyright 2003-2013 Joaquin M Lopez Munoz. +/* Copyright 2003-2020 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) @@ -13,7 +13,7 @@ #pragma once #endif -#include +#include #include namespace boost{ diff --git a/include/boost/multi_index/detail/seq_index_ops.hpp b/include/boost/multi_index/detail/seq_index_ops.hpp index 142bdd9..b12cc32 100644 --- a/include/boost/multi_index/detail/seq_index_ops.hpp +++ b/include/boost/multi_index/detail/seq_index_ops.hpp @@ -1,4 +1,4 @@ -/* Copyright 2003-2016 Joaquin M Lopez Munoz. +/* Copyright 2003-2020 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) @@ -14,7 +14,7 @@ #endif #include /* keep it first to prevent nasty warns in MSVC */ -#include +#include #include #include #include