git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add subscription for add/del tariffs
[stg.git]
/
tests
/
testusers.h
diff --git
a/tests/testusers.h
b/tests/testusers.h
index bbf4806383394906c1c0451dd141caa73349ef2b..780d0dd9483e771cef90761e7ea317ac62f7b04d 100644
(file)
--- 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; }
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; }
int FindByIPIdx(uint32_t /*ip*/, USER_PTR * /*user*/) const
{ return -1; }