diff options
| author | Mozzarella32 <143010987+Mozzarella32@users.noreply.github.com> | 2025-10-18 13:34:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-18 13:34:07 +0200 |
| commit | f3e13193a610bbcc36960ded8a25793bcff873b6 (patch) | |
| tree | 5a3588b087e25ac88d1287f050aa98e4bab66f53 /src/helpers/time/Timer.hpp | |
| parent | 8164b90bc2839d4d2a10c0d2b26c4a413ecf90b2 (diff) | |
timer: constify methods (#12079)
Diffstat (limited to 'src/helpers/time/Timer.hpp')
| -rw-r--r-- | src/helpers/time/Timer.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; +}; |
