diff options
Diffstat (limited to 'src/utils/timed_events.hpp')
-rw-r--r-- | src/utils/timed_events.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/timed_events.hpp b/src/utils/timed_events.hpp index 6e28206..393b38d 100644 --- a/src/utils/timed_events.hpp +++ b/src/utils/timed_events.hpp @@ -25,9 +25,9 @@ public: * An event the occurs only once, at the given time_point */ explicit TimedEvent(std::chrono::steady_clock::time_point&& time_point, - std::function<void()> callback, const std::string& name=""); + std::function<void()> callback, std::string name=""); explicit TimedEvent(std::chrono::milliseconds&& duration, - std::function<void()> callback, const std::string& name=""); + std::function<void()> callback, std::string name=""); explicit TimedEvent(TimedEvent&&) = default; TimedEvent& operator=(TimedEvent&&) = default; |