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;