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) {