From 06a5792212d05d235b101123efb3d81590c0aacc Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 29 Aug 2008 04:32:25 -0400 Subject: Output balances when converting to strings, as this is needed by debugging code sometimes. --- src/value.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/value.cc b/src/value.cc index 614a1afb..b079c54b 100644 --- a/src/value.cc +++ b/src/value.cc @@ -1664,7 +1664,7 @@ void value_t::print(std::ostream& out, const bool relaxed) const case BALANCE: case BALANCE_PAIR: - assert(false); + out << as_balance(); break; case DATETIME: -- cgit v1.2.3