From 6e46cb8f7ad648dc280537930428f9b6dc3c31f1 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Sun, 27 Jun 2021 21:49:42 -0700 Subject: [PATCH] :racehorse: save_flag is not required if conservative saving is disabled --- include/bank.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/bank.h b/include/bank.h index 07d06a5..6bd490b 100644 --- a/include/bank.h +++ b/include/bank.h @@ -25,7 +25,9 @@ private: std::mutex> users; +#if CONSERVATIVE_DISK_SAVE ChangeFlag save_flag; +#endif /** * @brief size_l should be grabbed if the operation MODIFIES the size (shared), this is so that when save claims unique