diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-09 14:54:42 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-09 14:54:42 -0400 |
commit | 3f7104e9bec0bbbf437ef77ebaed6e361099fa40 (patch) | |
tree | 82663e60790edadc33b17728a2ab8cec1dc4f254 /src/output.cc | |
parent | 02110394b45fdf4121f00f3484f0caeacb7c404e (diff) | |
download | fork-ledger-3f7104e9bec0bbbf437ef77ebaed6e361099fa40.tar.gz fork-ledger-3f7104e9bec0bbbf437ef77ebaed6e361099fa40.tar.bz2 fork-ledger-3f7104e9bec0bbbf437ef77ebaed6e361099fa40.zip |
Removed the balance_pair_t type, since it's now an unneeded abstraction.
This type was a holdback from the days before the amount_expr was used
everywhere to determine a transaction's value.
Diffstat (limited to 'src/output.cc')
-rw-r--r-- | src/output.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/output.cc b/src/output.cc index a0db92b6..593ce909 100644 --- a/src/output.cc +++ b/src/output.cc @@ -274,8 +274,6 @@ void format_equity::flush() const balance_t * bal; if (total.is_type(value_t::BALANCE)) bal = &(total.as_balance()); - else if (total.is_type(value_t::BALANCE_PAIR)) - bal = &(total.as_balance_pair().quantity()); else assert(false); @@ -304,8 +302,6 @@ void format_equity::operator()(account_t& account) const balance_t * bal; if (val.is_type(value_t::BALANCE)) bal = &(val.as_balance()); - else if (val.is_type(value_t::BALANCE_PAIR)) - bal = &(val.as_balance_pair().quantity()); else assert(false); |