mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐛 fixed for CONSERVATIVE_DISK_SAVE false possibility
This commit is contained in:
parent
37d885d81d
commit
0f50e00b6c
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ using namespace drogon;
|
|||
|
||||
#if CONSERVATIVE_DISK_SAVE
|
||||
#define SET_CHANGES_ON save_flag.SetChangesOn()
|
||||
#else
|
||||
#define SET_CHANGES_ON
|
||||
#endif
|
||||
|
||||
__attribute__((always_inline)) inline bool ValidUsername(const std::string &name) noexcept
|
||||
|
|
|
|||
Loading…
Reference in a new issue