Skip to content

Commit

Permalink
Resolve default constructor error in Xcode 7.2.1 and 8.2.1
Browse files Browse the repository at this point in the history
Fix issue that produces the error 'default initialization of an object
of const type 'const detail::buffer_size' without a user-provided
default constructor'
  • Loading branch information
cquammen committed Aug 6, 2021
1 parent fb19faa commit 278a828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/os.h
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ struct ostream_params {

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. */
class FMT_API ostream final : private detail::buffer<char> {
Expand Down

0 comments on commit 278a828

Please sign in to comment.