[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.
This commit is contained in:
parent
1afa4facb9
commit
16a8e18858
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue