From 12ec00ac2810b617938919a233a4b78e7468dade Mon Sep 17 00:00:00 2001 From: skypjack Date: Thu, 8 Jan 2026 11:34:50 +0100 Subject: [PATCH] storage: discard the no longer necessary operator!= --- src/entt/entity/storage.hpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/entt/entity/storage.hpp b/src/entt/entity/storage.hpp index 6adcdb602..033282685 100644 --- a/src/entt/entity/storage.hpp +++ b/src/entt/entity/storage.hpp @@ -121,11 +121,6 @@ template return lhs.index() == rhs.index(); } -template -[[nodiscard]] constexpr bool operator!=(const storage_iterator &lhs, const storage_iterator &rhs) noexcept { - return !(lhs == rhs); -} - template [[nodiscard]] constexpr bool operator<(const storage_iterator &lhs, const storage_iterator &rhs) noexcept { return lhs.index() > rhs.index(); @@ -203,11 +198,6 @@ template return std::get<0>(lhs.it) == std::get<0>(rhs.it); } -template -[[nodiscard]] constexpr bool operator!=(const extended_storage_iterator &lhs, const extended_storage_iterator &rhs) noexcept { - return !(lhs == rhs); -} - } // namespace internal /*! @endcond */