From c6c0179545b4572b7abf46957abd453022f9e213 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 7 Aug 2004 21:03:25 -0400 Subject: got more reports working again --- valexpr.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'valexpr.h') diff --git a/valexpr.h b/valexpr.h index aadbb03f..a774472f 100644 --- a/valexpr.h +++ b/valexpr.h @@ -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 -- cgit v1.2.3