suppressed potential redundant move warning

This commit is contained in:
joaquintides
2020-01-22 09:46:59 +01:00
parent 1f5655001d
commit c9f0de8473
2 changed files with 9 additions and 3 deletions
+7 -1
View File
@@ -1,7 +1,7 @@
[library Boost.PolyCollection
[quickbook 1.6]
[authors [López Muñoz, Joaquín M]]
[copyright 2016-2019 Joaquín M López Muñoz]
[copyright 2016-2020 Joaquín M López Muñoz]
[category containers]
[id poly_collection]
[dirname poly_collection]
@@ -1122,6 +1122,12 @@ to allow for the definition of container-level `operator<` and related operators
[section Release notes]
[section Boost 1.73]
* Suppressed a potential redundant move warning in `boost::poly_collection::for_each`.
[endsect]
[section Boost 1.72]
* Maintenance work.
+2 -2
View File
@@ -1,4 +1,4 @@
/* Copyright 2016-2018 Joaquin M Lopez Munoz.
/* Copyright 2016-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)
@@ -106,7 +106,7 @@ template<
Function for_each(const Iterator& first,const Iterator& last,Function f)
{
for_each_segment(first,last,restitute_range<Ts...>(for_each_alg{},f));
return std::move(f);
return f;
}
struct for_each_n_alg