Skip to content

Commit

Permalink
Workaround an MSVC v140 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Feb 13, 2025
1 parent ed27df5 commit 0ca42e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ class basic_specs {
};

unsigned data_ = 1 << fill_size_shift;
static_assert(sizeof(data_) * CHAR_BIT >= 18, "");
static_assert(sizeof(basic_specs::data_) * CHAR_BIT >= 18, "");

// Character (code unit) type is erased to prevent template bloat.
char fill_data_[max_fill_size] = {' '};
Expand Down

0 comments on commit 0ca42e8

Please sign in to comment.