Resolve std::move assumption.

This commit is contained in:
Thomas Harte committed 2026-07-28 12:01:28 -04:00
1 parent 4a4747fd09
commit a5ff5809f3
1 file changed
+1 -1
+1 -1
View File
@@ -91,7 +91,7 @@ private:
template <typename FuncT>
requires std::invocable<FuncT>
DeferredAction(TimeUnit delay, FuncT &&action) :
delay(delay), action(std::move(action)) {}
delay(delay), action(std::forward<FuncT>(action)) {}
};
std::vector<DeferredAction> pending_actions_;
};