From: Maxim Mamontov Date: Sat, 18 Dec 2010 14:08:05 +0000 (+0200) Subject: Метод GetStrError класу ADMINS зроблено константним X-Git-Tag: 2.407-rc3~265 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/42d6601cf13b3dece4c1e643d99dadb01601d1fb?ds=sidebyside Метод GetStrError класу ADMINS зроблено константним --- diff --git a/projects/stargazer/admins.h b/projects/stargazer/admins.h index 3e04ebdf..09933230 100644 --- a/projects/stargazer/admins.h +++ b/projects/stargazer/admins.h @@ -60,7 +60,7 @@ public: bool AdminCorrect(const std::string & login, const std::string & password, ADMIN * admin) const; - const string & GetStrError() { return strError; }; + const string & GetStrError() const { return strError; }; int OpenSearch() const; int SearchNext(int, ADMIN_CONF * ac) const;