From 966b6fc359bacad6b22e79fd5afbec0ea80e8d6a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 19 Jul 2011 23:29:31 -0500 Subject: Lookup probable accounts in reverse historical order Fixes #510 --- src/lookup.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/lookup.h') 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 -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 -- cgit v1.2.3