Fix another clang-tidy warning

This commit is contained in:
greg7mdp
2023-04-23 19:51:43 -04:00
parent 481a0d466e
commit 002f58edd1
+1 -1
View File
@@ -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;
}