Skip to content

Commit f3302f0

Browse files
fixup! [libc++][string] Remove potential non-trailing 0-length array
1 parent 6e1b86c commit f3302f0

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
@@ -759,7 +759,7 @@ struct __short_impl {
759759

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

0 commit comments

Comments
 (0)