summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-04-07 18:53:12 +0200
committerlouiz’ <louiz@louiz.org>2017-04-07 18:53:12 +0200
commitccb4ee098f0416ab47a46650705dba6495e8bec7 (patch)
treea309d09af17cd0d49a768660232bfaa9df100a57 /src/utils
parent5402a256d1f0ebbeafa32d250d000cf38fe748fb (diff)
downloadbiboumi-ccb4ee098f0416ab47a46650705dba6495e8bec7.tar.gz
biboumi-ccb4ee098f0416ab47a46650705dba6495e8bec7.tar.bz2
biboumi-ccb4ee098f0416ab47a46650705dba6495e8bec7.tar.xz
biboumi-ccb4ee098f0416ab47a46650705dba6495e8bec7.zip
Apply all the clang-tidy misc-* fixes
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/timed_events.cpp4
1 files changed, 2 insertions, 2 deletions
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<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))
{
}