diff --git a/src/entt/entity/snapshot.hpp b/src/entt/entity/snapshot.hpp index ab0777a28..2ce0abf7c 100644 --- a/src/entt/entity/snapshot.hpp +++ b/src/entt/entity/snapshot.hpp @@ -55,7 +55,7 @@ class basic_snapshot { while(begin != last) { const auto entt = *(begin++); - ((reg->template all_of(entt) ? ++size[Index] : size[Index]), ...); + ((reg->template all_of(entt) ? ++size[Index] : 0u), ...); } (get(archive, size[Index], first, last), ...);