From 53a3c0d1055cebb1e41328f71a1b14033ce8115c Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Thu, 1 Feb 2024 11:12:30 +0100 Subject: [PATCH] Change header --- src/timer.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/timer.hpp b/src/timer.hpp index 7c9b4ae..984db24 100644 --- a/src/timer.hpp +++ b/src/timer.hpp @@ -3,8 +3,7 @@ #include #include -#include -#include +#include namespace sc { @@ -20,7 +19,7 @@ namespace sc { timer_t _tid; public: - timer(double time, + timer(double time, // seconds bool repeat, void(*expired_func)(const timer&), void* context = nullptr); @@ -30,7 +29,7 @@ namespace sc { timer(const timer&) = delete; timer& operator=(const timer&) = delete; - // forbid moveing + // forbid moving timer(timer&&) = delete; timer& operator=(timer&&) = delete;