summaryrefslogtreecommitdiff
path: root/walk.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-22 02:23:45 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-22 02:23:45 -0400
commit4bc29e1351faeba56cbfc1146fa1af33eba15f9d (patch)
tree0b7102725c562816a1fc7367601e0026bf3b2bac /walk.h
parente41dbc204a5269d89b8909546d44927a58e29675 (diff)
downloadledger-4bc29e1351faeba56cbfc1146fa1af33eba15f9d.tar.gz
ledger-4bc29e1351faeba56cbfc1146fa1af33eba15f9d.tar.bz2
ledger-4bc29e1351faeba56cbfc1146fa1af33eba15f9d.zip
A great deal of reorganization to restore the old parsing code (since the
newer XML stuff was pulled).
Diffstat (limited to 'walk.h')
-rw-r--r--walk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/walk.h b/walk.h
index de98d071..67b0fe4d 100644
--- a/walk.h
+++ b/walk.h
@@ -725,12 +725,12 @@ void walk_accounts(account_t& account,
void walk_commodities(commodity_pool_t::commodities_by_ident& commodities,
item_handler<transaction_t>& handler);
-inline void clear_journal_xdata(journal_t * journal) {
+inline void clear_journal_xdata(journal_t& journal) {
clear_transaction_xdata xact_cleaner;
- walk_entries(journal->entries, xact_cleaner);
+ walk_entries(journal.entries, xact_cleaner);
clear_account_xdata acct_cleaner;
- walk_accounts(*journal->master, acct_cleaner);
+ walk_accounts(*journal.master, acct_cleaner);
}
} // namespace ledger