Fix build issue with uniqueptr
This commit is contained in:
1 parent
fe1b9f906e
commit
7a6739c156
1 file changed
+1
-1
@@ -426,7 +426,7 @@ private:
|
||||
iter->second->updated = TimeStamp::now();
|
||||
// Keep the old strategy alive because it could be in use.
|
||||
// metadata is changed so seldomly this is not a significant use of memory
|
||||
if (updated != nullptr) _old_strategies.push_back(updated);
|
||||
if (updated != nullptr) _old_strategies.push_back(std::move(updated));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user