From 1cbae6e9ba16f8705b8bb7fdb4596c9587d627bb Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 1 Dec 2019 14:43:51 -0800 Subject: [PATCH] Put vprint declarations in one place --- include/fmt/core.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 4b11cce0..d1e79c21 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1478,6 +1478,7 @@ inline std::basic_string format(const S& format_str, Args&&... args) { } FMT_API void vprint(std::FILE* f, string_view format_str, format_args args); +FMT_API void vprint(string_view format_str, format_args args); /** \rst @@ -1497,8 +1498,6 @@ inline void print(std::FILE* f, const S& format_str, Args&&... args) { internal::make_args_checked(format_str, args...)); } -FMT_API void vprint(string_view format_str, format_args args); - /** \rst Prints formatted data to ``stdout``.