Skip to content

Commit

Permalink
Fix another clang-tidy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Apr 23, 2023
1 parent 481a0d4 commit 002f58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parallel_hashmap/phmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ class raw_hash_set
// Hash, equality and allocator are copied instead of moved because
// `that` must be left valid. If Hash is std::function<Key>, moving it
// would create a nullptr functor that cannot be called.
settings_(that.settings_) {
settings_(std::move(that.settings_)) {
// growth_left was copied above, reset the one from `that`.
that.growth_left() = 0;
}
Expand Down

0 comments on commit 002f58e

Please sign in to comment.