mirror of
https://github.com/boostorg/poly_collection.git
synced 2026-07-21 13:33:37 +00:00
suppressed potential redundant move warning
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user