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