Apply all the clang-tidy misc-* fixes

This commit is contained in:
louiz’
2017-04-07 18:53:12 +02:00
parent 5402a256d1
commit ccb4ee098f
5 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
TimedEvent::TimedEvent(std::chrono::steady_clock::time_point&& time_point,
std::function<void()> 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))
{
}