diff --git a/src/entt/entity/table.hpp b/src/entt/entity/table.hpp index 6a752920b..498684451 100644 --- a/src/entt/entity/table.hpp +++ b/src/entt/entity/table.hpp @@ -125,7 +125,7 @@ template template [[nodiscard]] constexpr bool operator<(const table_iterator &lhs, const table_iterator &rhs) noexcept { - return std::get<0>(lhs.it) > std::get<0>(rhs.it); + return std::get<0>(lhs.it) < std::get<0>(rhs.it); } template