update main #1

Merged
Sinipelto merged 240 commits from Bananymous/banan-os:main into main 2023-11-20 13:20:51 +02:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 061d10e635 - Show all commits

View File

@ -97,8 +97,7 @@ namespace BAN
} }
template<typename S> template<typename S>
requires(is_const_v<S>) const Span<S> as_span() const
Span<S> as_span() const
{ {
ASSERT(m_data); ASSERT(m_data);
return Span<S>(reinterpret_cast<S*>(m_data), m_size / sizeof(S)); return Span<S>(reinterpret_cast<S*>(m_data), m_size / sizeof(S));