diff options
Diffstat (limited to 'src/xml.h')
-rw-r--r-- | src/xml.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -83,6 +83,14 @@ public: virtual void flush(); virtual void operator()(post_t& post); + + virtual void clear() { + commodities.clear(); + transactions_set.clear(); + transactions.clear(); + + item_handler<post_t>::clear(); + } }; } // namespace ledger |