From f3e13193a610bbcc36960ded8a25793bcff873b6 Mon Sep 17 00:00:00 2001 From: Mozzarella32 <143010987+Mozzarella32@users.noreply.github.com> Date: Sat, 18 Oct 2025 13:34:07 +0200 Subject: timer: constify methods (#12079) --- src/helpers/time/Timer.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/helpers/time/Timer.hpp') diff --git a/src/helpers/time/Timer.hpp b/src/helpers/time/Timer.hpp index c21f78db..3d5e0197 100644 --- a/src/helpers/time/Timer.hpp +++ b/src/helpers/time/Timer.hpp @@ -5,12 +5,12 @@ class CTimer { public: void reset(); - float getSeconds(); - float getMillis(); + float getSeconds() const; + float getMillis() const; const Time::steady_tp& chrono() const; private: Time::steady_tp m_lastReset; - Time::steady_dur getDuration(); -}; \ No newline at end of file + Time::steady_dur getDuration() const; +}; -- cgit v1.2.3