summaryrefslogtreecommitdiff
path: root/src/balance.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/balance.h')
-rw-r--r--src/balance.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/balance.h b/src/balance.h
index 57e6ace4..5f0d52ed 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -384,10 +384,8 @@ public:
}
optional<balance_t>
- value(const optional<datetime_t>& moment = none,
- const optional<commodity_t&>& in_terms_of = none) const;
-
- balance_t price() const;
+ value(const datetime_t& moment = datetime_t(),
+ const commodity_t * in_terms_of = NULL) const;
/**
* Truth tests. An balance may be truth test in two ways: