mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 16:12:14 +11:00
🐛 fixed lambda
This commit is contained in:
parent
321efcd363
commit
66fa73ed24
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ const char *Bank::Save()
|
|||
for (const auto &u : users)
|
||||
{
|
||||
//we know it contains this key but we call this func to grab mutex
|
||||
users.if_contains(u.first, [&u](const User &u_val) {
|
||||
users.if_contains(u.first, [&users_copy, &u](const User &u_val) {
|
||||
users_copy.users.emplace_back(u_val.Encode());
|
||||
users_copy.keys.emplace_back(u.first);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue