File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ struct Span {
305
305
_data (other.data())
306
306
{
307
307
MBED_STATIC_ASSERT (
308
- (span_detail::is_convertible<OtherElementType (*)[], ElementType (*)[]>::value),
308
+ (span_detail::is_convertible<OtherElementType (*)[1 ], ElementType (*)[1 ]>::value),
309
309
" OtherElementType(*)[] should be convertible to ElementType (*)[]"
310
310
);
311
311
}
@@ -594,7 +594,7 @@ struct Span<ElementType, SPAN_DYNAMIC_EXTENT> {
594
594
_data (other.data()), _size(other.size())
595
595
{
596
596
MBED_STATIC_ASSERT (
597
- (span_detail::is_convertible<OtherElementType (*)[], ElementType (*)[]>::value),
597
+ (span_detail::is_convertible<OtherElementType (*)[1 ], ElementType (*)[1 ]>::value),
598
598
" OtherElementType(*)[] should be convertible to ElementType (*)[]"
599
599
);
600
600
}
You can’t perform that action at this time.
0 commit comments