mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-26 20:38:45 +08:00
Made construction from std::basic_string_view explicit
This commit is contained in:
parent
d5cd9567cd
commit
75f7292447
@ -172,7 +172,7 @@ namespace etl
|
||||
/// Constructor from std::basic string_view
|
||||
//*************************************************************************
|
||||
template <typename TStdTraits>
|
||||
ETL_CONSTEXPR basic_string_view(const std::basic_string_view<T, TStdTraits>& other) ETL_NOEXCEPT
|
||||
explicit ETL_CONSTEXPR basic_string_view(const std::basic_string_view<T, TStdTraits>& other) ETL_NOEXCEPT
|
||||
: mbegin(other.data())
|
||||
, mend(other.data() + other.size())
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user