summaryrefslogtreecommitdiff
path: root/walk.h
diff options
context:
space:
mode:
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