aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-11-23 14:34:59 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-11-23 17:44:26 +0000
commit0585daf7de0673ade9feca1be66a68178786b48d (patch)
treeeeb400f294d275b9de6c23f5fe9bd503607f9c4a /gcc
parentdc2dfda0ece59db023dca92c8d44b130f3fdf2cc (diff)
downloadgcc-0585daf7de0673ade9feca1be66a68178786b48d.zip
gcc-0585daf7de0673ade9feca1be66a68178786b48d.tar.gz
gcc-0585daf7de0673ade9feca1be66a68178786b48d.tar.bz2
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.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions