diff --git a/AK/Span.h b/AK/Span.h index 017f8947bf..2de4af8da5 100644 --- a/AK/Span.h +++ b/AK/Span.h @@ -94,11 +94,6 @@ public: constexpr Span() = default; - ALWAYS_INLINE constexpr Span(Span const& other) - : Span(other.m_values, other.m_size) - { - } - [[nodiscard]] ALWAYS_INLINE constexpr T const* data() const { return this->m_values; } [[nodiscard]] ALWAYS_INLINE constexpr T* data() { return this->m_values; } @@ -211,13 +206,6 @@ public: return at(index); } - ALWAYS_INLINE constexpr Span& operator=(Span const& other) - { - this->m_size = other.m_size; - this->m_values = other.m_values; - return *this; - } - constexpr bool operator==(Span const& other) const { if (size() != other.size())