summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-16 04:00:01 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-16 04:00:01 -0400
commitaa69b273deda6cc29701fe9a4adf66abe8773cda (patch)
tree9e999fb5819e3012a86734e435f1ce7bfa47f71e /src/value.h
parent4de2f50818a9d693fe5a7cb4f431909341b2d7b8 (diff)
downloadfork-ledger-aa69b273deda6cc29701fe9a4adf66abe8773cda.tar.gz
fork-ledger-aa69b273deda6cc29701fe9a4adf66abe8773cda.tar.bz2
fork-ledger-aa69b273deda6cc29701fe9a4adf66abe8773cda.zip
Changed some value_t method names
- simplify -> simplified - cast -> casted This is to differentiate them from in_place_cast and in_place_simplify.
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 c24e8257..299afa82 100644
--- a/src/value.h
+++ b/src/value.h
@@ -731,14 +731,14 @@ public:
* in_place_cast
* in_place_simplify
*/
- value_t cast(type_t cast_type) const {
+ value_t casted(type_t cast_type) const {
value_t temp(*this);
temp.in_place_cast(cast_type);
return temp;
}
void in_place_cast(type_t cast_type);
- value_t simplify() const {
+ value_t simplified() const {
value_t temp = *this;
temp.in_place_simplify();
return temp;