summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-14 21:36:42 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-05-14 21:44:00 -0600
commitf4f3058b8cd75c04080f9b68cb54b9584eafb39f (patch)
treeeca9ca6ceca001209fb93c05b52e21031280d18c /src/generate.cc
parent96172669053bbba7263a370f109f70615049a0c6 (diff)
downloadfork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.gz
fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.bz2
fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.zip
Switch to using Boost.Format
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc8
1 files changed, 4 insertions, 4 deletions
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;
}