summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/value.h b/src/value.h
index b44cdd33..d8c18fe4 100644
--- a/src/value.h
+++ b/src/value.h
@@ -363,9 +363,9 @@ class value_t
value_t abs() const;
void in_place_cast(type_t cast_type);
value_t cost() const;
- value_t price() const;
- value_t date() const;
- value_t tag() const;
+ value_t annotated_price() const;
+ value_t annotated_date() const;
+ value_t annotated_tag() const;
value_t cast(type_t cast_type) const {
value_t temp(*this);
@@ -379,7 +379,8 @@ class value_t
value_t& add(const amount_t& amount,
const optional<amount_t>& cost = optional<amount_t>());
- value_t value(const moment_t& moment) const;
+ value_t value(const optional<moment_t>& moment =
+ optional<moment_t>()) const;
void in_place_reduce();
value_t reduce() const {