summaryrefslogtreecommitdiff
path: root/src/journal.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-04 19:55:27 -0400
commit2d941730b1c60342be5b108d2d654723b3b7c2cb (patch)
tree6a3f4b7305857e85d2684670492007bafc3668d0 /src/journal.h
parent73cf3b01fbd50c3a8a4fd96ff69643c28394d8fe (diff)
downloadfork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.gz
fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.tar.bz2
fork-ledger-2d941730b1c60342be5b108d2d654723b3b7c2cb.zip
Largely removed all of Ledger's use of global variables, for the REPL's sake.
Diffstat (limited to 'src/journal.h')
-rw-r--r--src/journal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/journal.h b/src/journal.h
index ff060d76..1b5607cc 100644
--- a/src/journal.h
+++ b/src/journal.h
@@ -76,7 +76,9 @@ public:
hooks_t<entry_finalizer_t, entry_t> entry_finalize_hooks;
- journal_t();
+ journal_t(account_t * _master = NULL) : master(_master) {
+ TRACE_CTOR(journal_t, "");
+ }
~journal_t();
// These four methods are delegated to the current session, since all