From 913f219fc152127743b54a6ee996e67843ca3540 Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Wed, 29 Aug 2018 19:42:46 +0100 Subject: [PATCH] Span: Fix type used in is_convertible traits. --- platform/Span.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/Span.h b/platform/Span.h index 15eb6e4bc5..05c4ec0bcf 100644 --- a/platform/Span.h +++ b/platform/Span.h @@ -305,7 +305,7 @@ struct Span { _data(other.data()) { MBED_STATIC_ASSERT( - (span_detail::is_convertible::value), + (span_detail::is_convertible::value), "OtherElementType(*)[] should be convertible to ElementType (*)[]" ); } @@ -594,7 +594,7 @@ struct Span { _data(other.data()), _size(other.size()) { MBED_STATIC_ASSERT( - (span_detail::is_convertible::value), + (span_detail::is_convertible::value), "OtherElementType(*)[] should be convertible to ElementType (*)[]" ); }