From 0e4885c1fa20c54c0a38088b8467d31fb84ec989 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 22 Jul 2024 16:53:29 +0200 Subject: [PATCH] util/IterableSplitString: remove unnecessary operator!=() The compiler must generate this implicitly from operator==(). --- src/util/IterableSplitString.hxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/util/IterableSplitString.hxx b/src/util/IterableSplitString.hxx index 9349f76ea..cece28152 100644 --- a/src/util/IterableSplitString.hxx +++ b/src/util/IterableSplitString.hxx @@ -68,10 +68,6 @@ public: return current.data() == other.current.data(); } - constexpr bool operator!=(Iterator other) const noexcept { - return !(*this == other); - } - constexpr string_view operator*() const noexcept { return current; }