aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-06-30 21:09:01 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-07-04 00:05:53 +0100
commit33245d6b87a284495304c9952813b6b83d5df99f (patch)
treeef216a6ee01e829fdfeca1e2d8abbafc837892a3 /gcc
parent7c521f6751e47d9dfaca2c8288c65f94e2f54d3d (diff)
downloadgcc-33245d6b87a284495304c9952813b6b83d5df99f.zip
gcc-33245d6b87a284495304c9952813b6b83d5df99f.tar.gz
gcc-33245d6b87a284495304c9952813b6b83d5df99f.tar.bz2
libstdc++: Qualify calls to std::_Destroy and _Destroy_aux
These calls should be qualified to prevent ADL, which can cause errors for incomplete types that are associated classes. libstdc++-v3/ChangeLog: * include/bits/alloc_traits.h (_Destroy): Qualify call. * include/bits/stl_construct.h (_Destroy, _Destroy_n): Likewise. * testsuite/23_containers/vector/cons/destroy-adl.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions