diff --git a/include/span.h b/include/span.h index 7fd711c..8a406ee 100644 --- a/include/span.h +++ b/include/span.h @@ -1267,7 +1267,7 @@ public: && std::is_convertible::value && std::is_same().size(), *std::declval().data())>, DataType>::value> > - constexpr span (Cont& cont) : span(static_cast(cont.data()), details::newBoundsHelper(cont.size())) + constexpr span (Cont& cont) : span(static_cast(cont.data()), details::newBoundsHelper(static_cast(cont.size()))) {} constexpr span(const span &) = default;