X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..155afaf9fb83e380a23877c2fba74d0cc5c26926:/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;