X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..56bcf61076cf2e51bd6ae9f0f50b53d48444b684:/projects/stargazer/traffcounter.h diff --git a/projects/stargazer/traffcounter.h b/projects/stargazer/traffcounter.h index 7ea4dc64..2742a7ec 100644 --- a/projects/stargazer/traffcounter.h +++ b/projects/stargazer/traffcounter.h @@ -107,7 +107,7 @@ public: {}; void Notify(const uint32_t & oldValue, const uint32_t & newValue); void SetUser(user_iter u) { user = u; } - user_iter GetUser() { return user; } + user_iter GetUser() const { return user; } private: TRAFFCOUNTER & traffCnt; @@ -124,7 +124,7 @@ public: {}; void Notify(const uint32_t & oldValue, const uint32_t & newValue); void SetUser(user_iter u) { user = u; } - user_iter GetUser() { return user; } + user_iter GetUser() const { return user; } private: TRAFFCOUNTER & traffCnt; user_iter user;