From 9044bf168ab0d8d6df03034898b1e5a4cb1559e8 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 13 May 2007 09:27:26 +0000 Subject: *** no comment *** --- src/amount.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/amount.h') 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 value(const optional& moment = - optional()) const; + optional value(const optional& 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()' 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. -- cgit v1.2.3