diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-07 10:32:24 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-07 10:32:24 -0600 |
commit | b1107f85ae07a85124e58a0e379ec2d9ab47d119 (patch) | |
tree | a44d0e10642cc8989b64c2ea89c4bbbf98eb3774 /src/balance.cc | |
parent | 7bb83173dae617b8e754fff8e52390ff9664873b (diff) | |
download | fork-ledger-b1107f85ae07a85124e58a0e379ec2d9ab47d119.tar.gz fork-ledger-b1107f85ae07a85124e58a0e379ec2d9ab47d119.tar.bz2 fork-ledger-b1107f85ae07a85124e58a0e379ec2d9ab47d119.zip |
Removed value_t::price and balance_t::price
Diffstat (limited to 'src/balance.cc')
-rw-r--r-- | src/balance.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/balance.cc b/src/balance.cc index 4fba7344..08368dd8 100644 --- a/src/balance.cc +++ b/src/balance.cc @@ -202,16 +202,6 @@ balance_t::value(const optional<datetime_t>& moment, return resolved ? temp : optional<balance_t>(); } -balance_t balance_t::price() const -{ - balance_t temp; - - foreach (const amounts_map::value_type& pair, amounts) - temp += pair.second.price(); - - return temp; -} - optional<amount_t> balance_t::commodity_amount(const optional<const commodity_t&>& commodity) const { |