stl_heap.h (__push_heap, [...]): Use _GLIBCXX_MOVE.
authorChris Jefferson <chris@bubblescope.net>
Thu, 11 Oct 2007 17:56:31 +0000 (17:56 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 11 Oct 2007 17:56:31 +0000 (17:56 +0000)
commitd70e9d81564c69dbcf03ea1539df7b416a2de4c1
tree88c9b54801385de6a404e2cc14a4caf41c761fc2
parent29b747611f60e5aa30b43734ac3bdd5745b09ea4
stl_heap.h (__push_heap, [...]): Use _GLIBCXX_MOVE.

2007-10-11  Chris Jefferson  <chris@bubblescope.net>
    Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_heap.h (__push_heap, push_heap, __adjust_heap,
make_heap): Use _GLIBCXX_MOVE.
(__pop_heap): Likewise, adjust signature.
(pop_heap): Adjust __pop_heap call.
* include/bits/stl_algo.h (__heap_select): Likewise.
* testsuite/25_algorithms/heap/moveable.cc: Remove dg-require-rvalref.
* testsuite/25_algorithms/partial_sort/moveable.cc: Likewise.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r129237
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/include/bits/stl_heap.h
libstdc++-v3/testsuite/25_algorithms/heap/moveable.cc
libstdc++-v3/testsuite/25_algorithms/partial_sort/moveable.cc