Skip to content

Commit

Permalink
fixup! [libc++][string] Remove potential non-trailing 0-length array
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille committed Aug 26, 2024
1 parent 6e1b86c commit f3302f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/include/string
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ struct __short_impl {

template <class _CharT, size_t __min_cap>
struct __short_impl<_CharT, __min_cap, 0> {
value_type __data_[__min_cap];
_CharT __data_[__min_cap];
unsigned char __size_ : 7;
unsigned char __is_long_ : 1;
};
Expand Down

0 comments on commit f3302f0

Please sign in to comment.