summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-19 08:06:20 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-19 08:06:20 -0400
commitfdc7a4e4c5423e79df4ad8905b5a67d45d2f85bc (patch)
treeb7aa301f7d884315f00c42903778ea549e7833d7 /src/session.cc
parent43ba0bb03807eea3fdcd4dd40fba10b00f823e24 (diff)
downloadfork-ledger-fdc7a4e4c5423e79df4ad8905b5a67d45d2f85bc.tar.gz
fork-ledger-fdc7a4e4c5423e79df4ad8905b5a67d45d2f85bc.tar.bz2
fork-ledger-fdc7a4e4c5423e79df4ad8905b5a67d45d2f85bc.zip
Factored common parts of entry_t and xact_t into new item_t
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.cc b/src/session.cc
index 6bcca89a..be7256a5 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -113,7 +113,7 @@ session_t::session_t()
ansi_codes(false),
ansi_invert(false),
- master(new account_t(this, NULL, ""))
+ master(new account_t(NULL, ""))
{
TRACE_CTOR(session_t, "");
}
@@ -161,7 +161,7 @@ void session_t::read_init()
ifstream init(*init_file);
- journal_t temp(this);
+ journal_t temp;
if (read_journal(temp, *init_file) > 0 ||
temp.auto_entries.size() > 0 ||
temp.period_entries.size() > 0)