aboutsummaryrefslogtreecommitdiff
path: root/absl/algorithm/container_test.cc
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2022-11-11 13:12:21 -0800
committerCopybara-Service <copybara-worker@google.com>2022-11-11 13:13:18 -0800
commit1b976982d8cdbfd8320f34209b065bae7adefb09 (patch)
tree1236085664ae3272aa94d2b26f98b6389b20fbf6 /absl/algorithm/container_test.cc
parent3a35cb3dffea155c6778cf43bc023fca583730e0 (diff)
downloadabseil-1b976982d8cdbfd8320f34209b065bae7adefb09.tar.gz
abseil-1b976982d8cdbfd8320f34209b065bae7adefb09.tar.bz2
abseil-1b976982d8cdbfd8320f34209b065bae7adefb09.zip
Stop unnecessary clearing of fields in ~raw_hash_set.
Previously, ~raw_hash_set() would change *this to have the same representation as an empty hash table. This is unnecessary since nobody should be touching a destroyed hash table, and prevents future optimizations/changes that might not be able to preserve this behavior. PiperOrigin-RevId: 487899950 Change-Id: I2d4470677bdd411c2e48ef511187e39f4e7fc2f4
Diffstat (limited to 'absl/algorithm/container_test.cc')
0 files changed, 0 insertions, 0 deletions