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/amount.h | |
parent | 994fb346993ddee2eaa4fb57eba2575636012b1a (diff) | |
download | ledger-9044bf168ab0d8d6df03034898b1e5a4cb1559e8.tar.gz ledger-9044bf168ab0d8d6df03034898b1e5a4cb1559e8.tar.bz2 ledger-9044bf168ab0d8d6df03034898b1e5a4cb1559e8.zip |
*** no comment ***
Diffstat (limited to 'src/amount.h')
-rw-r--r-- | src/amount.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/amount.h b/src/amount.h index 10659f1f..c11f539b 100644 --- a/src/amount.h +++ b/src/amount.h @@ -359,8 +359,7 @@ public: } amount_t& in_place_unreduce(); - optional<amount_t> value(const optional<moment_t>& moment = - optional<moment_t>()) const; + optional<amount_t> value(const optional<moment_t>& moment = none) const; /** * Truth tests. An amount may be truth test in several ways: @@ -502,7 +501,7 @@ public: * annotate_commodity(amount_t price, [moment_t date, string tag]) * sets the annotations for the current amount's commodity. Only * the price argument is required, although it can be passed as - * `optional<amount_t>()' if no price is desired. + * `none' if no price is desired. * * commodity_annotated() returns true if an amount's commodity has * any annotation details associated with it. |