summaryrefslogtreecommitdiff
path: root/equity.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2003-10-01 23:06:13 +0000
committerJohn Wiegley <johnw@newartisans.com>2003-10-01 23:06:13 +0000
commit3afa81857a688cb2eca56945dc5c40b9825b2e69 (patch)
tree5baba699ae1cd1cfc143163fd14914f453533e01 /equity.cc
parent637e28b5e7479a8f2b9c9f4350119ff663267aaf (diff)
downloadfork-ledger-3afa81857a688cb2eca56945dc5c40b9825b2e69.tar.gz
fork-ledger-3afa81857a688cb2eca56945dc5c40b9825b2e69.tar.bz2
fork-ledger-3afa81857a688cb2eca56945dc5c40b9825b2e69.zip
*** empty log message ***
Diffstat (limited to 'equity.cc')
-rw-r--r--equity.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/equity.cc b/equity.cc
index 3b80f166..16502ad1 100644
--- a/equity.cc
+++ b/equity.cc
@@ -2,7 +2,7 @@
namespace ledger {
-static void equity_entry(std::ostream& out, const account * acct,
+static void equity_entry(std::ostream& out, account * acct,
const std::list<mask>& regexps)
{
if (acct->balance &&
@@ -37,7 +37,7 @@ static void equity_entry(std::ostream& out, const account * acct,
// Display balances for all child accounts
- for (account::const_iterator i = acct->children.begin();
+ for (accounts_iterator i = acct->children.begin();
i != acct->children.end();
i++)
equity_entry(out, (*i).second, regexps);