summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/value.h b/src/value.h
index e3190ef4..3a052fb2 100644
--- a/src/value.h
+++ b/src/value.h
@@ -391,7 +391,7 @@ public:
/**
* Unary arithmetic operators.
*/
- value_t negate() const {
+ value_t negated() const {
value_t temp = *this;
temp.in_place_negate();
return temp;
@@ -400,7 +400,7 @@ public:
void in_place_not(); // exists for efficiency's sake
value_t operator-() const {
- return negate();
+ return negated();
}
value_t abs() const;