From 48353cd4dc91d7d654b4f4dcae50c993bc748270 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 29 Apr 2024 09:00:44 +0200 Subject: [PATCH] table: fixed operator< for table iterators --- src/entt/entity/table.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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