aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Rodgers <rodgert@appliantology.com>2021-06-08 15:41:31 -0700
committerThomas Rodgers <rodgert@appliantology.com>2021-06-08 15:41:31 -0700
commit16a8e18858abdc877b14caf33dec24aada1a3308 (patch)
treee111be6c30e3935265bbb5a5cd6a8fa4a40d0378
parent1afa4facb9348cac0349ff9c30066aa25a3608f7 (diff)
downloadgcc-16a8e18858abdc877b14caf33dec24aada1a3308.zip
gcc-16a8e18858abdc877b14caf33dec24aada1a3308.tar.gz
gcc-16a8e18858abdc877b14caf33dec24aada1a3308.tar.bz2
[libstdc++] Remove unused hasher instance.
This is a remnant of poorly executed refactoring. libstdc++-v3/ChangeLog: * include/std/barrier (__tree_barrier::_M_arrive): Remove unnecessary hasher instantiation.
-rw-r--r--libstdc++-v3/include/std/barrier1
1 files changed, 0 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/barrier b/libstdc++-v3/include/std/barrier
index fd61fb4..4210e30 100644
--- a/libstdc++-v3/include/std/barrier
+++ b/libstdc++-v3/include/std/barrier
@@ -103,7 +103,6 @@ It looks different from literature pseudocode for two main reasons:
static_cast<__barrier_phase_t>(__old_phase_val + 2);
size_t __current_expected = _M_expected;
- std::hash<std::thread::id> __hasher;
__current %= ((_M_expected + 1) >> 1);
for (int __round = 0; ; ++__round)