diff --git a/src/entt/entity/snapshot.hpp b/src/entt/entity/snapshot.hpp index ac18b749e..35253bfd6 100644 --- a/src/entt/entity/snapshot.hpp +++ b/src/entt/entity/snapshot.hpp @@ -585,7 +585,7 @@ public: * @return True if `entity` is managed by the loader, false otherwise. */ [[nodiscard]] bool contains(entity_type entt) const noexcept { - return (remloc.find(entt) != remloc.cend()); + return remloc.contains(entt); } /**