summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/amount.h b/src/amount.h
index 8042dd6b..0943a4c0 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -296,7 +296,7 @@ public:
temp.in_place_negate();
return temp;
}
- amount_t& in_place_negate();
+ void in_place_negate();
amount_t operator-() const {
return negate();
@@ -335,7 +335,7 @@ public:
temp.in_place_reduce();
return temp;
}
- amount_t& in_place_reduce();
+ void in_place_reduce();
/** unreduce(), if used with a "scaling commodity", yields the most
compact form greater than one. That is, \c 3599s will unreduce to
@@ -346,7 +346,7 @@ public:
temp.in_place_unreduce();
return temp;
}
- amount_t& in_place_unreduce();
+ void in_place_unreduce();
/** Returns the historical value for an amount -- the default moment
returns the most recently known price -- based on the price history