From ccb4ee098f0416ab47a46650705dba6495e8bec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Fri, 7 Apr 2017 18:53:12 +0200 Subject: Apply all the clang-tidy misc-* fixes --- src/utils/timed_events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') diff --git a/src/utils/timed_events.cpp b/src/utils/timed_events.cpp index e35a659..26ded82 100644 --- a/src/utils/timed_events.cpp +++ b/src/utils/timed_events.cpp @@ -3,7 +3,7 @@ TimedEvent::TimedEvent(std::chrono::steady_clock::time_point&& time_point, std::function callback, std::string name): - time_point(std::move(time_point)), + time_point(time_point), callback(std::move(callback)), repeat(false), repeat_delay(0), @@ -16,7 +16,7 @@ TimedEvent::TimedEvent(std::chrono::milliseconds&& duration, time_point(std::chrono::steady_clock::now() + duration), callback(std::move(callback)), repeat(true), - repeat_delay(std::move(duration)), + repeat_delay(duration), name(std::move(name)) { } -- cgit v1.2.3