summaryrefslogtreecommitdiff
path: root/amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'amount.h')
-rw-r--r--amount.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/amount.h b/amount.h
index ddd087f4..3e14e668 100644
--- a/amount.h
+++ b/amount.h
@@ -220,6 +220,7 @@ class amount_t
}
// unary negation
+ // jww (2007-04-17): change the name here
void negate();
amount_t negated() const {
amount_t temp = *this;
@@ -302,11 +303,13 @@ class amount_t
amount_t value(const datetime_t& moment) const;
+ // jww (2007-04-17): change the name here
void abs() {
if (*this < 0)
negate();
}
+ // jww (2007-04-17): change the name here
void reduce();
amount_t reduced() const {
amount_t temp(*this);