From 50f75e0a5c3ee31c2bcc1fcbd8da42e24ccf072f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 5 Aug 2004 21:47:53 -0400 Subject: added support for account sorting --- valexpr.h | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'valexpr.h') diff --git a/valexpr.h b/valexpr.h index 0d4413e7..d2521998 100644 --- a/valexpr.h +++ b/valexpr.h @@ -33,26 +33,17 @@ struct details_t const entry_t * entry; const transaction_t * xact; const account_t * account; - const balance_pair_t * balance; - const unsigned int * index; const unsigned int depth; - details_t(const entry_t * _entry, - const balance_pair_t * _balance = NULL, - const unsigned int * _index = NULL) - : entry(_entry), xact(NULL), account(NULL), - balance(_balance), index(_index), depth(0) {} + details_t(const entry_t * _entry) + : entry(_entry), xact(NULL), account(NULL), depth(0) {} - details_t(const transaction_t * _xact, - const balance_pair_t * _balance = NULL, - const unsigned int * _index = NULL) - : entry(_xact->entry), xact(_xact), account(_xact->account), - balance(_balance), index(_index), depth(0) {} + details_t(const transaction_t * _xact) + : entry(_xact->entry), xact(_xact), account(_xact->account), depth(0) {} details_t(const account_t * _account, const unsigned int _depth = 0) - : entry(NULL), xact(NULL), account(_account), - balance(NULL), index(NULL), depth(_depth) {} + : entry(NULL), xact(NULL), account(_account), depth(_depth) {} }; struct node_t -- cgit v1.2.3