Make PrintfFormatter public (#335, #360)

This commit is contained in:
Victor Zverovich
2016-07-20 08:09:14 -07:00
parent fa0f870ac9
commit d4ddaaf2b1
4 changed files with 41 additions and 22 deletions

View File

@@ -53,7 +53,7 @@ FMT_VARIADIC(std::string, custom_format, const char *)
std::string custom_sprintf(const char* fstr, fmt::ArgList args){
fmt::MemoryWriter writer;
fmt::internal::PrintfFormatter< char, CustomPAF > pfer( args);
fmt::PrintfFormatter<char, CustomPAF> pfer( args);
pfer.format(writer, fstr);
return writer.str();
}