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