diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-13 09:27:26 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:49 -0400 |
commit | 9044bf168ab0d8d6df03034898b1e5a4cb1559e8 (patch) | |
tree | cc5233bf5394f72b1b2cb7aa866cd8b67ff9d346 /src/balance.h | |
parent | 994fb346993ddee2eaa4fb57eba2575636012b1a (diff) | |
download | fork-ledger-9044bf168ab0d8d6df03034898b1e5a4cb1559e8.tar.gz fork-ledger-9044bf168ab0d8d6df03034898b1e5a4cb1559e8.tar.bz2 fork-ledger-9044bf168ab0d8d6df03034898b1e5a4cb1559e8.zip |
*** no comment ***
Diffstat (limited to 'src/balance.h')
-rw-r--r-- | src/balance.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/balance.h b/src/balance.h index 627c3ac6..e1fa9883 100644 --- a/src/balance.h +++ b/src/balance.h @@ -179,10 +179,9 @@ public: return true; } - optional<amount_t> amount(const optional<const commodity_t&>& commodity = - optional<const commodity_t&>()) const; - optional<balance_t> value(const optional<moment_t>& moment = - optional<moment_t>()) const; + optional<amount_t> + amount(const optional<const commodity_t&>& commodity = none) const; + optional<balance_t> value(const optional<moment_t>& moment = none) const; balance_t strip_annotations(const bool keep_price = amount_t::keep_price, |