diff --git a/src/entt/entity/view.hpp b/src/entt/entity/view.hpp index e8a59b61d..9d1c46410 100644 --- a/src/entt/entity/view.hpp +++ b/src/entt/entity/view.hpp @@ -611,7 +611,7 @@ public: [[nodiscard]] decltype(auto) get(const entity_type entt) const { if constexpr(sizeof...(Index) == 0) { return [this, entt](std::index_sequence) { - return std::tuple_cat(storage()->get_as_tuple(entt)...); + return std::tuple_cat(this->storage()->get_as_tuple(entt)...); }(std::index_sequence_for{}); } else if constexpr(sizeof...(Index) == 1) { return (storage()->get(entt), ...);