diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-03 17:08:11 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-03 17:08:11 -0400 |
commit | eb45a0a4f46577c6615695256e5f6866a27ef20e (patch) | |
tree | 7839ad1f692df20276921ec182a78a14b13c61b9 /src/account.h | |
parent | cf2548c29cbd10c41bd23d119394489e1ced8e2a (diff) | |
download | fork-ledger-eb45a0a4f46577c6615695256e5f6866a27ef20e.tar.gz fork-ledger-eb45a0a4f46577c6615695256e5f6866a27ef20e.tar.bz2 fork-ledger-eb45a0a4f46577c6615695256e5f6866a27ef20e.zip |
Normalized how account totals are calculated
Diffstat (limited to 'src/account.h')
-rw-r--r-- | src/account.h | 3 |
1 files changed, 1 insertions, 2 deletions
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_value_t> 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); |