From 0f50e00b6cc9196d344d1067e238b7d2b363dd65 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Sat, 24 Jul 2021 17:29:25 -0700 Subject: [PATCH] :bug: fixed for CONSERVATIVE_DISK_SAVE false possibility --- src/bank.cpp | 2 ++ 1 file changed, 2 insertions(+) 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