Apply suggestions from code review
This commit is contained in:
parent
07ca088035
commit
8bf75f9791
@ -385,7 +385,7 @@ class file_buffer final : public detail::buffer<char> {
|
|||||||
FMT_API void grow(size_t) override;
|
FMT_API void grow(size_t) override;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FMT_API file_buffer(cstring_view path, const detail::ostream_params& params);
|
FMT_API file_buffer(cstring_view path, const ostream_params& params);
|
||||||
FMT_API file_buffer(file_buffer&& other);
|
FMT_API file_buffer(file_buffer&& other);
|
||||||
FMT_API ~file_buffer();
|
FMT_API ~file_buffer();
|
||||||
|
|
||||||
@ -408,7 +408,7 @@ FMT_END_DETAIL_NAMESPACE
|
|||||||
constexpr detail::buffer_size buffer_size{};
|
constexpr detail::buffer_size buffer_size{};
|
||||||
|
|
||||||
/** A fast output stream which is not thread-safe. */
|
/** A fast output stream which is not thread-safe. */
|
||||||
class FMT_API ostream final {
|
class FMT_API ostream {
|
||||||
private:
|
private:
|
||||||
FMT_MSC_WARNING(suppress : 4251)
|
FMT_MSC_WARNING(suppress : 4251)
|
||||||
detail::file_buffer buffer_;
|
detail::file_buffer buffer_;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user