summaryrefslogtreecommitdiff
path: root/ledger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.cc')
-rw-r--r--ledger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ledger.cc b/ledger.cc
index 7f4f161d..91f2a273 100644
--- a/ledger.cc
+++ b/ledger.cc
@@ -302,7 +302,7 @@ account * state::find_account(const char * name, bool create)
current = (*i).second;
}
} else {
- account::iterator i = current->children.find(tok);
+ accounts_iterator i = current->children.find(tok);
if (i == current->children.end()) {
if (! create)
return NULL;