aboutsummaryrefslogtreecommitdiff
path: root/src/timer.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-21 17:15:10 +0100
committerGravatar Sadie Powell2022-10-21 17:15:10 +0100
commit3928f478f1a05394c8aab47a8d5f38e18cce9669 (patch)
treed9d107a8127be7166aa91d10ffa2d9a541ad062c /src/timer.cpp
parentMerge branch 'insp3' into master. (diff)
Assign more class members inline instead of in the constructor.
Diffstat (limited to 'src/timer.cpp')
-rw-r--r--src/timer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/timer.cpp b/src/timer.cpp
index c66598f37..8e1d01a56 100644
--- a/src/timer.cpp
+++ b/src/timer.cpp
@@ -35,8 +35,7 @@ void Timer::SetInterval(unsigned long newinterval)
}
Timer::Timer(unsigned long secs_from_now, bool repeating)
- : trigger(0)
- , secs(secs_from_now)
+ : secs(secs_from_now)
, repeat(repeating)
{
}