Use more std::move

This commit is contained in:
Megamouse
2026-06-10 02:15:16 +02:00
parent 27b13dff20
commit 5252f47a33
33 changed files with 168 additions and 157 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ public:
std::lock_guard lock(mutex);
if (std::shared_ptr<void> new_val = std::invoke(func); new_val)
{
storage.push_back(new_val);
storage.push_back(std::move(new_val));
}
delete_unused();
}