summaryrefslogtreecommitdiff
path: root/src/precmd.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-05 02:23:49 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-05 02:27:39 -0500
commit3dc200983d5057a7760aeb9e864479c902d7e1d7 (patch)
tree6f754a113f97af3dd856cd7e507f91da9e9e0402 /src/precmd.cc
parent40a430139edd12d9f580f5616571bc3ed8709d73 (diff)
downloadfork-ledger-3dc200983d5057a7760aeb9e864479c902d7e1d7.tar.gz
fork-ledger-3dc200983d5057a7760aeb9e864479c902d7e1d7.tar.bz2
fork-ledger-3dc200983d5057a7760aeb9e864479c902d7e1d7.zip
Moved xdata clearing code into each type proper
Diffstat (limited to 'src/precmd.cc')
-rw-r--r--src/precmd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/precmd.cc b/src/precmd.cc
index 479d7c2d..4cf541f4 100644
--- a/src/precmd.cc
+++ b/src/precmd.cc
@@ -67,7 +67,7 @@ namespace {
{
std::istringstream in(str);
report.session.journal->parse(in, report.session);
- report.session.clean_accounts();
+ report.session.journal->clear_xdata();
}
}
xact_t * first = report.session.journal->xacts.front();