diff --git a/zpp_bits.h b/zpp_bits.h index 4edb6d9..da42b52 100644 --- a/zpp_bits.h +++ b/zpp_bits.h @@ -972,8 +972,8 @@ class bytes { } - constexpr explicit bytes(std::span items, std::size_t size) : - m_items(items.data()), m_size(size) + constexpr explicit bytes(std::span items, auto size) : + m_items(items.data()), m_size(std::size_t(size)) { }