From eb45a0a4f46577c6615695256e5f6866a27ef20e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 3 Mar 2009 17:08:11 -0400 Subject: Normalized how account totals are calculated --- src/account.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/account.h') diff --git a/src/account.h b/src/account.h index 3bd0b9ca..79c989bc 100644 --- a/src/account.h +++ b/src/account.h @@ -133,6 +133,7 @@ class account_t : public scope_t std::size_t count; // posts counted toward amount std::size_t total_count; // posts counted toward total std::size_t virtuals; + std::size_t total_virtuals; std::list sort_values; @@ -183,8 +184,6 @@ class account_t : public scope_t return xdata_ && xdata_->has_flags(flags); } std::size_t children_with_flags(xdata_t::flags_t flags) const; - - void calculate_sums(expr_t& amount_expr); }; std::ostream& operator<<(std::ostream& out, const account_t& account); -- cgit v1.2.3