Skip to content

Commit 002f58e

Browse files
committed
Fix another clang-tidy warning
1 parent 481a0d4 commit 002f58e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

parallel_hashmap/phmap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ class raw_hash_set
11931193
// Hash, equality and allocator are copied instead of moved because
11941194
// `that` must be left valid. If Hash is std::function<Key>, moving it
11951195
// would create a nullptr functor that cannot be called.
1196-
settings_(that.settings_) {
1196+
settings_(std::move(that.settings_)) {
11971197
// growth_left was copied above, reset the one from `that`.
11981198
that.growth_left() = 0;
11991199
}

0 commit comments

Comments
 (0)