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/generate.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/generate.cc') diff --git a/src/generate.cc b/src/generate.cc index 8769c99c..bcbde9f1 100644 --- a/src/generate.cc +++ b/src/generate.cc @@ -374,14 +374,14 @@ void generate_posts_iterator::increment() } } catch (std::exception&) { - add_error_context(_("While parsing generated transaction (seed %1):") - << seed); + add_error_context(_f("While parsing generated transaction (seed %1%):") + % seed); add_error_context(buf.str()); throw; } catch (int) { - add_error_context(_("While parsing generated transaction (seed %1):") - << seed); + add_error_context(_f("While parsing generated transaction (seed %1%):") + % seed); add_error_context(buf.str()); throw; } -- cgit v1.2.3