From 348e6199ab83306b4773d06fe4b5931bb1730b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= Date: Sun, 1 Dec 2024 15:47:54 +0000 Subject: [PATCH] [Ref] mpt/base/span.hpp: Remove operator== and operator!=. They are not in std::span. git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22427 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- src/mpt/base/span.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/mpt/base/span.hpp b/src/mpt/base/span.hpp index 4a4d9c661d8..e908b52cfce 100644 --- a/src/mpt/base/span.hpp +++ b/src/mpt/base/span.hpp @@ -122,14 +122,6 @@ class span { return m_data[index]; } - bool operator==(const span & other) const noexcept { - return size() == other.size() && (m_data == other.m_data || std::equal(begin(), end(), other.begin())); - } - - bool operator!=(const span & other) const noexcept { - return !(*this == other); - } - pointer data() const noexcept { return m_data; }