Skip to content

Commit

Permalink
Add default value for temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
wichtounet committed Nov 30, 2024
1 parent 63accc4 commit 24850dd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions include/expenses.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ struct module_traits<expenses_module> {
};

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<std::string, std::string, std::less<>> get_params() const ;

Expand Down

0 comments on commit 24850dd

Please sign in to comment.