diff options
Diffstat (limited to 'src/journal.h')
-rw-r--r-- | src/journal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/journal.h b/src/journal.h index ca6b6e4f..183d074d 100644 --- a/src/journal.h +++ b/src/journal.h @@ -140,8 +140,10 @@ public: account_t * find_account(const string& name, bool auto_create = true); account_t * find_account_re(const string& regexp); - bool add_xact(xact_t * xact); - void extend_xact(xact_base_t * xact); + bool add_xact(xact_t * xact, + optional<date_t::year_type> current_year = none); + void extend_xact(xact_base_t * xact, + optional<date_t::year_type> current_year = none); bool remove_xact(xact_t * xact); xacts_list::iterator xacts_begin() { |