diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-19 22:30:46 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-19 22:30:46 -0400 |
commit | c6303ab9efdb414a1809ec3413264037b31f092e (patch) | |
tree | a8fc8e2b66caaa2a7b176e553330a4742a2a11ff /src/balance.h | |
parent | 7cc64c04a56b30b4c04fe4cf7d3399dcf58c4971 (diff) | |
download | fork-ledger-c6303ab9efdb414a1809ec3413264037b31f092e.tar.gz fork-ledger-c6303ab9efdb414a1809ec3413264037b31f092e.tar.bz2 fork-ledger-c6303ab9efdb414a1809ec3413264037b31f092e.zip |
Fixed the market valuation function for balances.
Diffstat (limited to 'src/balance.h')
-rw-r--r-- | src/balance.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/balance.h b/src/balance.h index d00fadb1..0122e5a3 100644 --- a/src/balance.h +++ b/src/balance.h @@ -377,7 +377,8 @@ public: return *this = temp; } - optional<balance_t> value(const optional<datetime_t>& moment = none) const; + optional<balance_t> value(const optional<datetime_t>& moment = none, + const optional<commodity_t&>& in_terms_of = none) const; /** * Truth tests. An balance may be truth test in two ways: |