mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +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)
|
for (const auto &u : users)
|
||||||
{
|
{
|
||||||
//we know it contains this key but we call this func to grab mutex
|
//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.users.emplace_back(u_val.Encode());
|
||||||
users_copy.keys.emplace_back(u.first);
|
users_copy.keys.emplace_back(u.first);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue