summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-20 23:08:42 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-20 23:12:23 -0400
commitfc349389e3f074ae2ce22b93f3833f063f548a8f (patch)
treeb235bf0a9b6ca21aac1bcd56c8462f5570202723 /src/value.h
parent96ff798736cd06812fb7e463c14d6c356c8228e3 (diff)
downloadfork-ledger-fc349389e3f074ae2ce22b93f3833f063f548a8f.tar.gz
fork-ledger-fc349389e3f074ae2ce22b93f3833f063f548a8f.tar.bz2
fork-ledger-fc349389e3f074ae2ce22b93f3833f063f548a8f.zip
Restored the --budget option
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;