From 24850dd540d63e634577a4a072685413a6a36d63 Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Sat, 30 Nov 2024 06:34:00 +0100 Subject: [PATCH] Add default value for temporary --- include/expenses.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/expenses.hpp b/include/expenses.hpp index 06618ba..acc890b 100644 --- a/include/expenses.hpp +++ b/include/expenses.hpp @@ -37,14 +37,14 @@ struct module_traits { }; struct expense { - size_t id; - std::string guid; + size_t id; + std::string guid; budget::date date; - std::string name; - size_t account; - money amount; - std::string original_name; - bool temporary; + std::string name; + size_t account; + money amount; + std::string original_name; + bool temporary = false; std::map> get_params() const ;