diff --git a/src/entt/entity/handle.hpp b/src/entt/entity/handle.hpp index e5d412005..aa6a6d163 100644 --- a/src/entt/entity/handle.hpp +++ b/src/entt/entity/handle.hpp @@ -78,11 +78,6 @@ template return lhs.it == rhs.it; } -template -[[nodiscard]] constexpr bool operator!=(const handle_storage_iterator &lhs, const handle_storage_iterator &rhs) noexcept { - return !(lhs == rhs); -} - } // namespace internal /*! @endcond */ @@ -364,20 +359,6 @@ template return lhs.registry() == rhs.registry() && lhs.entity() == rhs.entity(); } -/** - * @brief Compares two handles. - * @tparam Args Scope of the first handle. - * @tparam Other Scope of the second handle. - * @param lhs A valid handle. - * @param rhs A valid handle. - * @return False if both handles refer to the same registry and the same - * entity, true otherwise. - */ -template -[[nodiscard]] bool operator!=(const basic_handle &lhs, const basic_handle &rhs) noexcept { - return !(lhs == rhs); -} - /** * @brief Compares a handle with the null object. * @tparam Args Scope of the handle.