From 06784b8d63300cd0eb17cf3c20fc4ffb5ae57d34 Mon Sep 17 00:00:00 2001 From: skypjack Date: Thu, 18 Dec 2025 17:45:00 +0100 Subject: [PATCH] view: make it clear to clang that I'm using the this pointer --- src/entt/entity/view.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), ...);