diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-01-19 18:26:41 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-01-19 18:26:41 +0000 |
commit | 45b48129d5e03ba60d434986f480a46ab119ddb7 (patch) | |
tree | 8aab2cd8aea06cb33329d28f3824493f7d7d3c92 /gcc/gcc-plugin.h | |
parent | c048038f8d50d5f3c657451b216f6ef751887bd8 (diff) | |
download | gcc-45b48129d5e03ba60d434986f480a46ab119ddb7.zip gcc-45b48129d5e03ba60d434986f480a46ab119ddb7.tar.gz gcc-45b48129d5e03ba60d434986f480a46ab119ddb7.tar.bz2 |
PR67085 move comparison functions in heap operations
PR libstdc++/67085
* include/bits/stl_heap.h (push_heap, __adjust_heap, __pop_heap)
(pop_heap, __make_heap, make_heap, __sort_heap, sort_heap): Use
_GLIBCXX_MOVE when passing comparison function to other functions.
(is_heap_until, is_heap): Use std::move when passing comparison
function.
* testsuite/23_containers/priority_queue/67085.cc: New test.
From-SVN: r244648
Diffstat (limited to 'gcc/gcc-plugin.h')
0 files changed, 0 insertions, 0 deletions