summaryrefslogtreecommitdiff
path: root/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'value.h')
-rw-r--r--value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/value.h b/value.h
index 8bb9c8d7..e5418995 100644
--- a/value.h
+++ b/value.h
@@ -610,7 +610,7 @@ public:
return *(boost::any *) storage->data;
}
template <typename T>
- T *& as_pointer_lval() {
+ T * as_pointer_lval() {
assert(is_pointer());
_dup();
return any_cast<T *>(*(boost::any *) storage->data);
@@ -652,7 +652,7 @@ public:
*/
bool to_boolean() const;
long to_long() const;
- datetime_t to_datetime() const;
+ datetime_t to_datetime() const;
amount_t to_amount() const;
balance_t to_balance() const;
balance_pair_t to_balance_pair() const;