diff --git a/src/bank.cpp b/src/bank.cpp index ab6080e..f301e11 100644 --- a/src/bank.cpp +++ b/src/bank.cpp @@ -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