X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/2db10cd7443b651fc3d116fd007db85347de7acb..27a84a14d9c9db1b807a432744b146aa461c40a1:/projects/stargazer/user_impl.h?ds=sidebyside diff --git a/projects/stargazer/user_impl.h b/projects/stargazer/user_impl.h index 68b77268..f1dd4175 100644 --- a/projects/stargazer/user_impl.h +++ b/projects/stargazer/user_impl.h @@ -117,7 +117,7 @@ public: int WriteStat(); int WriteMonthStat(); - std::string const & GetLogin() const { return login; } + const std::string & GetLogin() const { return login; } void SetLogin(std::string const & l); uint32_t GetCurrIP() const { return currIP; } @@ -189,7 +189,7 @@ public: void ProcessNewMonth(); bool IsInetable(); - std::string GetEnabledDirs(); + std::string GetEnabledDirs(); void OnAdd(); void OnDelete();