From 8186e0b091a4f487448dcfab7144217a85870d4c Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Thu, 10 Jul 2014 12:14:27 +0200 Subject: Move the definition of Timer::Timer() into the source file from the header Use initialization list --- include/timer.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'include') diff --git a/include/timer.h b/include/timer.h index 503fa82a2..1787da7ba 100644 --- a/include/timer.h +++ b/include/timer.h @@ -53,12 +53,7 @@ class CoreExport Timer * @param now The time now * @param repeating Repeat this timer every secs_from_now seconds if set to true */ - Timer(unsigned int secs_from_now, time_t now, bool repeating = false) - { - trigger = now + secs_from_now; - secs = secs_from_now; - repeat = repeating; - } + Timer(unsigned int secs_from_now, time_t now, bool repeating = false); /** Default destructor, removes the timer from the timer manager */ -- cgit v1.2.3