value_t::in_place_unround wasn't doing it in-place

This commit is contained in:
John Wiegley 2009-06-21 18:35:48 +01:00
parent ec62e70997
commit fe6055bf16

View file

@ -1358,10 +1358,10 @@ void value_t::in_place_unround()
case INTEGER:
return;
case AMOUNT:
as_amount_lval().unrounded();
as_amount_lval().in_place_unround();
return;
case BALANCE:
as_balance_lval().unrounded();
as_balance_lval().in_place_unround();
return;
case SEQUENCE: {
value_t temp;