summaryrefslogtreecommitdiff
path: root/src/lookup.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-07-19 23:29:31 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-07-19 23:29:31 -0500
commit966b6fc359bacad6b22e79fd5afbec0ea80e8d6a (patch)
tree324ed3f2e18bed15952cc60dc92e31fc6f8ec43c /src/lookup.h
parentd0dfff62a6a3a685f19a5bed8716f7b661dc8c60 (diff)
downloadfork-ledger-966b6fc359bacad6b22e79fd5afbec0ea80e8d6a.tar.gz
fork-ledger-966b6fc359bacad6b22e79fd5afbec0ea80e8d6a.tar.bz2
fork-ledger-966b6fc359bacad6b22e79fd5afbec0ea80e8d6a.zip
Lookup probable accounts in reverse historical order
Fixes #510
Diffstat (limited to 'src/lookup.h')
-rw-r--r--src/lookup.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lookup.h b/src/lookup.h
index 7776be80..8e83b84e 100644
--- a/src/lookup.h
+++ b/src/lookup.h
@@ -47,9 +47,10 @@
namespace ledger {
std::pair<xact_t *, account_t *>
-lookup_probable_account(const string& ident,
- xacts_iterator& iter_func,
- account_t * ref_account = NULL);
+lookup_probable_account(const string& ident,
+ xacts_list::reverse_iterator iter,
+ xacts_list::reverse_iterator end,
+ account_t * ref_account = NULL);
} // namespace ledger