summaryrefslogtreecommitdiff
path: root/ledger.h
diff options
context:
space:
mode:
Diffstat (limited to 'ledger.h')
-rw-r--r--ledger.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/ledger.h b/ledger.h
index 1aef2e3a..7be88463 100644
--- a/ledger.h
+++ b/ledger.h
@@ -224,17 +224,13 @@ class journal_t
accounts_cache.insert(accounts_pair(name, account));
return account;
}
- account_t * find_account(const std::string& name) const {
- // With auto_create false, the other `find_account' will not
- // change the object.
- return const_cast<journal_t *>(this)->find_account(name, false);
- }
+ account_t * find_account_re(const std::string& regexp);
bool add_entry(entry_t * entry);
bool remove_entry(entry_t * entry);
entry_t * derive_entry(strings_list::iterator begin,
- strings_list::iterator end) const;
+ strings_list::iterator end);
bool valid() const;
};