From ad147da83944e36ca787a88b70209e2d5a9fa43e Mon Sep 17 00:00:00 2001 From: skypjack Date: Thu, 8 Jan 2026 12:12:56 +0100 Subject: [PATCH] entity: discard the no longer necessary operator!= --- src/entt/entity/entity.hpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/entt/entity/entity.hpp b/src/entt/entity/entity.hpp index 8ecf31dae..5dc32b72f 100644 --- a/src/entt/entity/entity.hpp +++ b/src/entt/entity/entity.hpp @@ -223,15 +223,6 @@ struct null_t { return true; } - /** - * @brief Compares two null objects. - * @param other A null object. - * @return False in all cases. - */ - [[nodiscard]] constexpr bool operator!=([[maybe_unused]] const null_t other) const noexcept { - return false; - } - /** * @brief Compares a null object and an identifier of any type. * @tparam Entity Type of identifier. @@ -302,15 +293,6 @@ struct tombstone_t { return true; } - /** - * @brief Compares two tombstone objects. - * @param other A tombstone object. - * @return False in all cases. - */ - [[nodiscard]] constexpr bool operator!=([[maybe_unused]] const tombstone_t other) const noexcept { - return false; - } - /** * @brief Compares a tombstone object and an identifier of any type. * @tparam Entity Type of identifier.