type_info: discard the no longer necessary operator!=

This commit is contained in:
skypjack
2026-01-08 11:30:45 +01:00
parent b3718b329d
commit d5aa3973db
-10
View File
@@ -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.