aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc-plugin.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-01-19 18:26:41 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2017-01-19 18:26:41 +0000
commit45b48129d5e03ba60d434986f480a46ab119ddb7 (patch)
tree8aab2cd8aea06cb33329d28f3824493f7d7d3c92 /gcc/gcc-plugin.h
parentc048038f8d50d5f3c657451b216f6ef751887bd8 (diff)
downloadgcc-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