Skip to content

Commit 960e989

Browse files
fixup! [libc++][string] Remove potential non-trailing 0-length array
1 parent 5cbdce6 commit 960e989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/string

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ struct __short_impl {
760760

761761
template <class _CharT, size_t __min_cap>
762762
struct __short_impl<_CharT, __min_cap, 0> {
763-
value_type __data_[__min_cap];
763+
_CharT __data_[__min_cap];
764764
unsigned char __size_ : 7;
765765
unsigned char __is_long_ : 1;
766766
};

0 commit comments

Comments
 (0)