diff options
Diffstat (limited to 'value.cc')
-rw-r--r-- | value.cc | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -1378,7 +1378,7 @@ value_t value_t::annotated_tag() const optional<string> temp = as_amount().annotation_details().tag; if (! temp) return false; - return value_t(*temp, true); + return string_value(*temp); } case STRING: @@ -1679,15 +1679,4 @@ bool value_t::valid() const return true; } -void value_context::describe(std::ostream& out) const throw() -{ - if (! desc.empty()) - out << desc << std::endl; - - out << std::right; - out.width(20); - bal.print(out); - out << std::endl; -} - } // namespace ledger |