diff options
author | Milad Fa <46688537+miladfarca@users.noreply.github.com> | 2021-10-06 17:20:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 17:20:14 -0400 |
commit | ae0f4c266095c9003786cd571bc1fb72544104a1 (patch) | |
tree | 471d3ba0b4adca43f55507101f3101575706b466 /absl/synchronization/mutex_test.cc | |
parent | b9b925341f9e90f5e7aa0cf23f036c29c7e454eb (diff) | |
download | abseil-ae0f4c266095c9003786cd571bc1fb72544104a1.tar.gz abseil-ae0f4c266095c9003786cd571bc1fb72544104a1.tar.bz2 abseil-ae0f4c266095c9003786cd571bc1fb72544104a1.zip |
Fix hashing on big endian platforms (#1028)
Avoid using libstdc++'s implementation of std::hash<std::bitset> and
std::hash<std::vector> on big endian platforms in the implementation
of absl::Hash.
This is a workaround for a buggy implementation that results in many
collisions.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102531
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98731
Diffstat (limited to 'absl/synchronization/mutex_test.cc')
0 files changed, 0 insertions, 0 deletions