commit | cf8faabcac2adee1fd59a5baf7a36d4334a74a93 | [log] [tgz] |
---|---|---|
author | Jonathan Wakely <jwakely@redhat.com> | Thu Nov 23 14:34:59 2023 +0000 |
committer | Jonathan Wakely <jwakely@redhat.com> | Fri Mar 01 10:52:11 2024 +0000 |
tree | aeee8888bfc445a03762887536719e0d3fbf99af | |
parent | 89e7b77df1aefb01aadfacae83170b24a4c4d274 [diff] |
libstdc++: Fix access error in __gnu_test::uneq_allocator The operator== function is only a friend of the LHS argument, so cannot access the private member of the RHS argument. Use the public accessor instead. libstdc++-v3/ChangeLog: * testsuite/util/testsuite_allocator.h (uneq_allocator): Fix equality operator for heterogeneous comparisons. (cherry picked from commit 0585daf7de0673ade9feca1be66a68178786b48d)