summaryrefslogtreecommitdiffstats
path: root/tests/ingen_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ingen_test.cpp')
-rw-r--r--tests/ingen_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp
index f40499b4..cd86985f 100644
--- a/tests/ingen_test.cpp
+++ b/tests/ingen_test.cpp
@@ -149,7 +149,7 @@ main(int argc, char** argv)
Sord::Node nil;
int n_events = 0;
for (;; ++n_events) {
- std::string subject_str = (fmt("msg%1%") % n_events).str();
+ std::string subject_str = fmt("msg%1%", n_events);
Sord::URI subject(*world->rdf_world(), subject_str,
(const char*)cmds_file_uri.buf);
Sord::Iter iter = cmds->find(subject, nil, nil);