From f4f3058b8cd75c04080f9b68cb54b9584eafb39f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 14 May 2012 21:36:42 -0600 Subject: Switch to using Boost.Format --- src/balance.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/balance.cc') diff --git a/src/balance.cc b/src/balance.cc index ded3d38a..42034ff8 100644 --- a/src/balance.cc +++ b/src/balance.cc @@ -216,8 +216,8 @@ balance_t::commodity_amount(const optional& commodity) const return temp.commodity_amount(commodity); throw_(amount_error, - _("Requested amount of a balance with multiple commodities: %1") - << temp); + _f("Requested amount of a balance with multiple commodities: %1%") + % temp); } } else if (amounts.size() > 0) { -- cgit v1.2.3