summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2019-01-17 12:07:15 -0800
committerGitHub <noreply@github.com>2019-01-17 12:07:15 -0800
commit3199b4dde73da0a821f2f8d772074216226d34eb (patch)
tree81ea07d210de4c001f80731be1a153e1ca6dc99c /src/xact.h
parent5682f377aed5b0db6b6c4a44b1d8868103b7e9f7 (diff)
parentb19b1115e6b60338d025c660c8a1f05c1ef1e644 (diff)
downloadfork-ledger-3199b4dde73da0a821f2f8d772074216226d34eb.tar.gz
fork-ledger-3199b4dde73da0a821f2f8d772074216226d34eb.tar.bz2
fork-ledger-3199b4dde73da0a821f2f8d772074216226d34eb.zip
Merge pull request #1734 from tko/boost-fmt
Fix some boost format strings
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xact.h b/src/xact.h
index b0a4417e..26e263fc 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -115,7 +115,7 @@ public:
virtual string description() {
if (pos) {
std::ostringstream buf;
- buf << _f("transaction at line %1") << pos->beg_line;
+ buf << _f("transaction at line %1%") % pos->beg_line;
return buf.str();
} else {
return string(_("generated transaction"));
@@ -177,7 +177,7 @@ public:
virtual string description() {
if (pos) {
std::ostringstream buf;
- buf << _f("automated transaction at line %1") << pos->beg_line;
+ buf << _f("automated transaction at line %1%") % pos->beg_line;
return buf.str();
} else {
return string(_("generated automated transaction"));
@@ -220,7 +220,7 @@ class period_xact_t : public xact_base_t
virtual string description() {
if (pos) {
std::ostringstream buf;
- buf << _f("periodic transaction at line %1") << pos->beg_line;
+ buf << _f("periodic transaction at line %1%") % pos->beg_line;
return buf.str();
} else {
return string(_("generated periodic transaction"));