summaryrefslogtreecommitdiff
path: root/src/balance.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/balance.cc')
-rw-r--r--src/balance.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/balance.cc b/src/balance.cc
index 08368dd8..f87e8bbd 100644
--- a/src/balance.cc
+++ b/src/balance.cc
@@ -185,8 +185,8 @@ balance_t& balance_t::operator/=(const amount_t& amt)
}
optional<balance_t>
-balance_t::value(const optional<datetime_t>& moment,
- const optional<commodity_t&>& in_terms_of) const
+balance_t::value(const datetime_t& moment,
+ const commodity_t * in_terms_of) const
{
balance_t temp;
bool resolved = false;