From 3ebc508c918fe3211d2b94434c227d3d00b02f5f Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sat, 18 Dec 2010 16:13:31 +0200 Subject: [PATCH] =?utf8?q?=D0=9C=D0=B5=D1=82=D0=BE=D0=B4=D0=B8=20GetUser?= =?utf8?q?=20=D0=BD=D0=BE=D1=82=D0=B8=D1=84=D1=96=D0=BA=D0=B0=D1=82=D0=BE?= =?utf8?q?=D1=80=D1=96=D0=B2=20=D0=BA=D0=BB=D0=B0=D1=81=D1=83=20USERS=20?= =?utf8?q?=D0=B7=D1=80=D0=BE=D0=B1=D0=BB=D0=B5=D0=BD=D0=BE=20=D0=BA=D0=BE?= =?utf8?q?=D0=BD=D1=81=D1=82=D0=B0=D0=BD=D1=82=D0=BD=D0=B8=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- projects/stargazer/users.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.44.2