X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/203056055696ed765a66342e7e9e74ba1ffc10a3..1b2fc630ee7edf4f8763bbf0e976789d26ff9372:/projects/stargazer/users_impl.h diff --git a/projects/stargazer/users_impl.h b/projects/stargazer/users_impl.h index 46b17139..4c586b06 100644 --- a/projects/stargazer/users_impl.h +++ b/projects/stargazer/users_impl.h @@ -114,7 +114,7 @@ public: void Del(const std::string & login, const ADMIN * admin); int ReadUsers(); - int GetUserNum() const; + size_t Count() const { return users.size(); } int FindByIPIdx(uint32_t ip, USER_PTR * user) const; int FindByIPIdx(uint32_t ip, USER_IMPL ** user) const;