diff options
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/value.cc b/src/value.cc index 6e4574ca..9eb5b2e1 100644 --- a/src/value.cc +++ b/src/value.cc @@ -1245,22 +1245,6 @@ value_t value_t::strip_annotations(const keep_details_t& what_to_keep) const return NULL_VALUE; } -value_t value_t::cost() const -{ - switch (type()) { - case INTEGER: - case AMOUNT: - case BALANCE: - return *this; - - default: - break; - } - - throw_(value_error, "Cannot find the cost of " << label()); - return NULL_VALUE; -} - void value_t::print(std::ostream& out, const int first_width, const int latter_width, |