summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/value.h b/src/value.h
index 83a9976e..5638a1b4 100644
--- a/src/value.h
+++ b/src/value.h
@@ -418,7 +418,8 @@ public:
void in_place_reduce(); // exists for efficiency's sake
// Return the "market value" of a given value at a specific time.
- value_t value(const optional<datetime_t>& moment = none) const;
+ value_t value(const optional<datetime_t>& moment = none,
+ const optional<commodity_t&>& in_terms_of = none) const;
value_t cost() const;