Make print non-inline

This commit is contained in:
Victor Zverovich
2014-09-25 07:08:25 -07:00
parent ae8bc36e57
commit 163178eee1
2 changed files with 5 additions and 3 deletions
+4
View File
@@ -1030,6 +1030,10 @@ void fmt::print(std::FILE *f, StringRef format_str, ArgList args) {
std::fwrite(w.data(), 1, w.size(), f);
}
void fmt::print(StringRef format_str, ArgList args) {
print(stdout, format_str, args);
}
void fmt::print(std::ostream &os, StringRef format_str, ArgList args) {
Writer w;
w.write(format_str, args);