X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1a9bbae3582d2e2a9c10f50ddc47bf8d23101cdc..6124f07f31aa48cbeef0d8939b76eac73a8a227e:/projects/stargazer/user_impl.h?ds=sidebyside diff --git a/projects/stargazer/user_impl.h b/projects/stargazer/user_impl.h index acb4d58a..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; }