diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-07 21:03:25 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-07 21:03:25 -0400 |
commit | c6c0179545b4572b7abf46957abd453022f9e213 (patch) | |
tree | f830c5f6ea7113551ff3372870fb2d7f5481d92d /valexpr.h | |
parent | 5db1e1165b05ae56e0348a4634144072dfcace1f (diff) | |
download | fork-ledger-c6c0179545b4572b7abf46957abd453022f9e213.tar.gz fork-ledger-c6c0179545b4572b7abf46957abd453022f9e213.tar.bz2 fork-ledger-c6c0179545b4572b7abf46957abd453022f9e213.zip |
got more reports working again
Diffstat (limited to 'valexpr.h')
-rw-r--r-- | valexpr.h | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -30,20 +30,18 @@ bool matches(const masks_list& regexps, const std::string& str, struct details_t { - const entry_t * entry; - const transaction_t * xact; - const account_t * account; - const unsigned int depth; + const entry_t * entry; + const transaction_t * xact; + const account_t * account; details_t(const entry_t * _entry) - : entry(_entry), xact(NULL), account(NULL), depth(0) {} + : entry(_entry), xact(NULL), account(NULL) {} details_t(const transaction_t * _xact) - : entry(_xact->entry), xact(_xact), account(_xact->account), depth(0) {} + : entry(_xact->entry), xact(_xact), account(_xact->account) {} - details_t(const account_t * _account, - const unsigned int _depth = 0) - : entry(NULL), xact(NULL), account(_account), depth(_depth) {} + details_t(const account_t * _account) + : entry(NULL), xact(NULL), account(_account) {} }; struct node_t |