X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1a9bbae3582d2e2a9c10f50ddc47bf8d23101cdc..15683eb58c0d154f5dda82def6eccfdb2e3e76d2:/projects/stargazer/user_impl.h 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; }