🐛 fixed for CONSERVATIVE_DISK_SAVE false possibility

This commit is contained in:
EntireTwix 2021-07-24 17:29:25 -07:00
parent 37d885d81d
commit 0f50e00b6c

View file

@ -24,6 +24,8 @@ using namespace drogon;
#if CONSERVATIVE_DISK_SAVE #if CONSERVATIVE_DISK_SAVE
#define SET_CHANGES_ON save_flag.SetChangesOn() #define SET_CHANGES_ON save_flag.SetChangesOn()
#else
#define SET_CHANGES_ON
#endif #endif
__attribute__((always_inline)) inline bool ValidUsername(const std::string &name) noexcept __attribute__((always_inline)) inline bool ValidUsername(const std::string &name) noexcept