mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
AK: Remove incorrect static assert in Span.h.
This assertion was added to prevent accitentally using stuff like Span<int*> instead of Span<int>. But there can be spans of pointers.
This commit is contained in:
parent
d90f8abe9d
commit
d4fe63d2ce
1 changed files with 0 additions and 2 deletions
|
@ -105,8 +105,6 @@ public:
|
|||
using Iterator = T*;
|
||||
using ConstIterator = const T*;
|
||||
|
||||
static_assert(!IsPointer<T>::value);
|
||||
|
||||
using Detail::Span<T>::Span;
|
||||
|
||||
ALWAYS_INLINE Span(std::nullptr_t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue