2016-07-15 21:53 GMT+02:00 Jonathan Wakely :
> Returning a parameter will try to move anyway, so using std::move here
> is redundant (and clang even warns about it being redundant).
>
> * include/bits/stl_algo.h (for_each): Remove redundant _GLIBCXX_MOVE
> and adjust comment.
Actua
Returning a parameter will try to move anyway, so using std::move here
is redundant (and clang even warns about it being redundant).
* include/bits/stl_algo.h (for_each): Remove redundant _GLIBCXX_MOVE
and adjust comment.
Tested x86_64-linux, committed to trunk.
commit 54ee8abfe