X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1a9bbae3582d2e2a9c10f50ddc47bf8d23101cdc..20a6f8130099fb69d67e7a58fa9935caa9be32c5:/projects/stargazer/user_impl.h?ds=inline 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; }