diff options
author | Abseil Team <absl-team@google.com> | 2023-12-20 09:50:32 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-12-20 09:51:29 -0800 |
commit | 299dbc588e4d2a6e23a4f99d5d224c042ab4a9a5 (patch) | |
tree | 2c5a1f7bb7358b3aa431c5d2880c5eea22bbe8ac /absl/container/flat_hash_map_test.cc | |
parent | b559abcbbe27402b6d6d47db38c23f69ca99aff2 (diff) |
Unify btree EmptyNode allocation code across compilers.
We currently have a workaround for MSVC, which has constexpr pointer arithmetic bugs. The bug seems to still exist and the existing code for non-MSVC compilers doesn't build.
This alternative constexpr constructor avoids pointer arithmetic and seems to be working for all, including MSVC.
PiperOrigin-RevId: 592586957
Change-Id: Ic585693c3a7abaab5fbbc0954b8ee924994f8dbf
Diffstat (limited to 'absl/container/flat_hash_map_test.cc')
0 files changed, 0 insertions, 0 deletions