X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..e2791d9aef50f35848ab391454048b3e01e1907b:/projects/stargazer/users.h?ds=sidebyside diff --git a/projects/stargazer/users.h b/projects/stargazer/users.h index e882dcc1..07c9c102 100644 --- a/projects/stargazer/users.h +++ b/projects/stargazer/users.h @@ -56,7 +56,7 @@ class PROPERTY_NOTIFER_IP_BEFORE: public PROPERTY_NOTIFIER_BASE public: PROPERTY_NOTIFER_IP_BEFORE(USERS & us, user_iter u) : users(us), user(u) {}; void Notify(const uint32_t & oldValue, const uint32_t & newValue); - user_iter GetUser() { return user; }; + user_iter GetUser() const { return user; }; private: USERS & users; user_iter user; @@ -67,7 +67,7 @@ class PROPERTY_NOTIFER_IP_AFTER: public PROPERTY_NOTIFIER_BASE public: PROPERTY_NOTIFER_IP_AFTER(USERS & us, user_iter u) : users(us), user(u) {}; void Notify(const uint32_t & oldValue, const uint32_t & newValue); - user_iter GetUser() { return user; }; + user_iter GetUser() const { return user; }; private: USERS & users; user_iter user;