From d5aa3973dba0992ce119b0cbee5361c62daa44f0 Mon Sep 17 00:00:00 2001 From: skypjack Date: Thu, 8 Jan 2026 11:30:45 +0100 Subject: [PATCH] type_info: discard the no longer necessary operator!= --- src/entt/core/type_info.hpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/entt/core/type_info.hpp b/src/entt/core/type_info.hpp index 59a8820a3..a2cc14e82 100644 --- a/src/entt/core/type_info.hpp +++ b/src/entt/core/type_info.hpp @@ -191,16 +191,6 @@ private: return lhs.hash() == rhs.hash(); } -/** - * @brief Compares the contents of two type info objects. - * @param lhs A type info object. - * @param rhs A type info object. - * @return True if the two type info objects differ, false otherwise. - */ -[[nodiscard]] constexpr bool operator!=(const type_info &lhs, const type_info &rhs) noexcept { - return !(lhs == rhs); -} - /** * @brief Compares two type info objects. * @param lhs A valid type info object.