diff --git a/src/entt/entity/storage.hpp b/src/entt/entity/storage.hpp index eaeb1a8cf..29eba29ea 100644 --- a/src/entt/entity/storage.hpp +++ b/src/entt/entity/storage.hpp @@ -1109,7 +1109,7 @@ public: * @return The number of elements within the newly created range. */ template - typename size_type pack(It first, It last) { + size_type pack(It first, It last) { size_type next = length; for(; first != last; ++first, --next) {