diff --git a/include/etl/string_view.h b/include/etl/string_view.h index 3558d2ef..48c6c75d 100644 --- a/include/etl/string_view.h +++ b/include/etl/string_view.h @@ -172,7 +172,7 @@ namespace etl /// Constructor from std::basic string_view //************************************************************************* template - ETL_CONSTEXPR basic_string_view(const std::basic_string_view& other) ETL_NOEXCEPT + explicit ETL_CONSTEXPR basic_string_view(const std::basic_string_view& other) ETL_NOEXCEPT : mbegin(other.data()) , mend(other.data() + other.size()) {