]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Stop using std::unary_function in perf tests
authorJonathan Wakely <jwakely@redhat.com>
Wed, 13 Nov 2024 13:38:45 +0000 (13:38 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 13 Nov 2024 17:58:50 +0000 (17:58 +0000)
commit8586e16154f17df56ba6008c2ffe104bd03dd698
tree17c87c80465d52e988b51e821d5afd3ed376e7d7
parent42def7cd8bab71002d3097b9db33fd1dc25a72f6
libstdc++: Stop using std::unary_function in perf tests

This fixes some -Wdeprecated-declarations warnings.

libstdc++-v3/ChangeLog:

* testsuite/performance/ext/pb_ds/hash_int_erase_mem.cc: Replace
std::unary_function with result_type and argument_type typedefs.
* testsuite/util/performance/assoc/multimap_common_type.hpp:
Likewise.
libstdc++-v3/testsuite/performance/ext/pb_ds/hash_int_erase_mem.cc
libstdc++-v3/testsuite/util/performance/assoc/multimap_common_type.hpp