aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHuanghui Nie <nnnjkk@gmail.com>2024-01-22 06:45:48 +0100
committerFrançois Dumont <fdumont@gcc.gnu.org>2024-01-24 06:36:04 +0100
commitec0a68b9ee3e4b3de84816ea22c82214f8a8ceb0 (patch)
tree5d2c9e4d649a13233965ae0ddb4500b8933cfe74 /gcc
parent7f7d9c525c694e36ae525ed93ccd5b6ffad0f1d8 (diff)
downloadgcc-ec0a68b9ee3e4b3de84816ea22c82214f8a8ceb0.zip
gcc-ec0a68b9ee3e4b3de84816ea22c82214f8a8ceb0.tar.gz
gcc-ec0a68b9ee3e4b3de84816ea22c82214f8a8ceb0.tar.bz2
libstdc++: [_Hashtable] Remove useless check for _M_before_begin node
When removing the first node of a bucket it is useless to check if this bucket is the one containing the _M_before_begin node. The bucket before-begin node is already transfered to the next pointed-to bucket regardeless if it is the container before-begin node. libstdc++-v3/ChangeLog: * include/bits/hashtable.h (_Hahstable<>::_M_remove_bucket_begin): Remove _M_before_begin check and cleanup implementation. Co-authored-by: Théo Papadopoulo <papadopoulo@gmail.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions