mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 00:50:38 +08:00
Fix another clang-tidy warning
This commit is contained in:
Vendored
+1
-1
@@ -1193,7 +1193,7 @@ public:
|
||||
// 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user