]> git.stg.codes - stg.git/blobdiff - projects/stargazer/users_impl.h
Produce debug output only if SMUX_DEBUG is defined
[stg.git] / projects / stargazer / users_impl.h
index 46b171399affe45d7f4cfccc0026bfb5f865ed79..4c586b0613363f30f45260fc8af4e90c404e72c5 100644 (file)
@@ -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;