From 5555651ce02a28db8941c49ad60a8a4842777691 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 14 Nov 2020 06:06:10 -0800 Subject: [PATCH] Fix more linkage errors (#2011) --- include/fmt/os.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/os.h b/include/fmt/os.h index 301374c2..d945df47 100644 --- a/include/fmt/os.h +++ b/include/fmt/os.h @@ -378,7 +378,7 @@ struct ostream_params { static constexpr detail::buffer_size buffer_size; // A fast output stream which is not thread-safe. -class FMT_API ostream final : private detail::buffer { +class ostream final : private detail::buffer { private: file file_; @@ -388,7 +388,7 @@ class FMT_API ostream final : private detail::buffer { clear(); } - void grow(size_t) override final; + FMT_API void grow(size_t) override final; ostream(cstring_view path, const detail::ostream_params& params) : file_(path, params.oflag) {