summaryrefslogtreecommitdiff
path: root/journal.h
diff options
context:
space:
mode:
Diffstat (limited to 'journal.h')
-rw-r--r--journal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/journal.h b/journal.h
index 7b288d33..435569ba 100644
--- a/journal.h
+++ b/journal.h
@@ -320,6 +320,7 @@ class journal_t
{
public:
account_t * master;
+ account_t * basket;
entries_list entries;
strings_list sources;
std::string price_db;
@@ -332,7 +333,7 @@ class journal_t
std::list<entry_finalizer_t *> entry_finalize_hooks;
- journal_t() {
+ journal_t() : basket(NULL) {
DEBUG_PRINT("ledger.memory.ctors", "ctor journal_t");
master = new account_t(NULL, "");
master->journal = this;