Replace implicit conversion to std::string with to_string

This commit is contained in:
vitaut
2015-06-17 07:59:41 -07:00
parent 147e5ebbbc
commit e39490500c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ const unsigned BIG_NUM = INT_MAX + 1u;
// Makes format string argument positional.
std::string make_positional(fmt::StringRef format) {
std::string s(format);
std::string s(format.to_string());
s.replace(s.find('%'), 1, "%1$");
return s;
}