Make print non-inline
diff --git a/format.cc b/format.cc
index 5ec3f42..1297197 100644
--- a/format.cc
+++ b/format.cc
@@ -1030,6 +1030,10 @@
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);
diff --git a/format.h b/format.h
index d76ceae..a1d1016 100644
--- a/format.h
+++ b/format.h
@@ -2049,9 +2049,7 @@
print("Elapsed time: {0:.2f} seconds", 1.23);
\endrst
*/
-inline void print(StringRef format_str, ArgList args) {
- print(stdout, format_str, args);
-}
+void print(StringRef format_str, ArgList args);
/**
\rst