BAN: Update bytespan -> span API
This commit is contained in:
parent
f6c312a6b3
commit
240d57f4b4
|
@ -97,8 +97,7 @@ namespace BAN
|
|||
}
|
||||
|
||||
template<typename S>
|
||||
requires(is_const_v<S>)
|
||||
Span<S> as_span() const
|
||||
const Span<S> as_span() const
|
||||
{
|
||||
ASSERT(m_data);
|
||||
return Span<S>(reinterpret_cast<S*>(m_data), m_size / sizeof(S));
|
||||
|
|
Loading…
Reference in New Issue