summaryrefslogtreecommitdiff
path: root/valexpr.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-07 21:03:25 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-07 21:03:25 -0400
commitc6c0179545b4572b7abf46957abd453022f9e213 (patch)
treef830c5f6ea7113551ff3372870fb2d7f5481d92d /valexpr.h
parent5db1e1165b05ae56e0348a4634144072dfcace1f (diff)
downloadfork-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.h16
1 files changed, 7 insertions, 9 deletions
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