mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-18 09:02:14 +11:00
⏪ made save function absolute
This commit is contained in:
parent
94fce9cd1f
commit
597a710e2b
1 changed files with 22 additions and 28 deletions
|
|
@ -250,10 +250,6 @@ BankResponse Bank::DelUser(const std::string &name) noexcept
|
|||
}
|
||||
void Bank::Save()
|
||||
{
|
||||
#if CONSERVATIVE_DISK_SAVE
|
||||
if (GetChangeState())
|
||||
{
|
||||
#endif
|
||||
Json::Value temp;
|
||||
|
||||
//loading info into json temp
|
||||
|
|
@ -282,8 +278,6 @@ void Bank::Save()
|
|||
save_flag.SetChangesOff();
|
||||
#else
|
||||
save_flag = true;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue