aboutsummaryrefslogtreecommitdiffstats
path: root/include/timer.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-17 11:35:14 +0100
committerGravatar Sadie Powell2022-05-17 11:36:02 +0100
commit337b0bedc302a720cc8de101859e0142642e25d7 (patch)
tree9d2b5f2f7677845d2333621ed299905f0a668233 /include/timer.h
parentRemove a variable that is unused because of the previous commit. (diff)
Only give timers a trigger time when they're actually registered.
Diffstat (limited to 'include/timer.h')
-rw-r--r--include/timer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/timer.h b/include/timer.h
index 3a0127b7d..593aa4d76 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -63,8 +63,7 @@ public:
*/
virtual ~Timer();
- /** Retrieve the current triggering time
- */
+ /** Retrieves the time at which this timer will tick next. If the timer is not active then 0 will be returned. */
time_t GetTrigger() const
{
return trigger;