X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/25e5ba1bdfefce82ff8e4bb0221de19a538b4d3c..e470c81abda3653a5ef2e3cff7b610aa823fe9b4:/tests/testusers.h?ds=sidebyside diff --git a/tests/testusers.h b/tests/testusers.h index bbf48063..780d0dd9 100644 --- a/tests/testusers.h +++ b/tests/testusers.h @@ -22,7 +22,7 @@ class TEST_USERS : public USERS { void Del(const std::string & /*login*/, const ADMIN * /*admin*/) {} int ReadUsers() { return 0; } - int GetUserNum() const { return 0; } + virtual size_t Count() const { return 0; }; int FindByIPIdx(uint32_t /*ip*/, USER_PTR * /*user*/) const { return -1; }