X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..e59123a3a13f9ffb3af28e85295b6a14c5c8aaca:/projects/stargazer/traffcounter.h?ds=sidebyside 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;