mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐛 always init ints kids
This commit is contained in:
parent
b6344da31d
commit
6a8b5da869
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ size_t Bank::NumOfUsers() const noexcept { return users.size(); }
|
|||
//NOT THREAD SAFE
|
||||
uint64_t Bank::NumOfLogs() const noexcept
|
||||
{
|
||||
uint64_t res;
|
||||
uint64_t res = 0;
|
||||
for (const auto &u : users)
|
||||
{
|
||||
res += u.second.log.data.size();
|
||||
|
|
|
|||
Loading…
Reference in a new issue