From e54928794f5c3e7448eb19171632afe3e56574cd Mon Sep 17 00:00:00 2001 From: skypjack Date: Wed, 10 Dec 2025 14:37:16 +0100 Subject: [PATCH] davey: cleanup --- src/entt/tools/davey.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entt/tools/davey.hpp b/src/entt/tools/davey.hpp index c377c4059..ab5ac0536 100644 --- a/src/entt/tools/davey.hpp +++ b/src/entt/tools/davey.hpp @@ -140,7 +140,7 @@ static void present_storage(const meta_ctx &ctx, const basic_sparse_set::entity_type>(obj, [](const char *name, const Entity entt) { + present_element::entity_type>(obj, [](const char *name, const Entity entt) { ImGui::Text("%s: %d [%d/%d]", name, to_integral(entt), to_entity(entt), to_version(entt)); }); } @@ -187,7 +187,7 @@ static void present_entity(const meta_ctx &ctx, const Entity entt, const It from template static void present_view(const meta_ctx &ctx, const basic_view, exclude_t> &view, std::index_sequence) { using view_type = basic_view, exclude_t>; - const std::array range{view.template storage()...}; + const std::array range{view.template storage()...}; for(auto tup: view.each()) { const auto entt = std::get<0>(tup); @@ -200,7 +200,7 @@ static void present_view(const meta_ctx &ctx, const basic_view, ex if(ImGui::TreeNode(&storage->info(), "%s", label)) { if(const auto obj = type.from_void(storage->value(entt)); obj) { - present_element(obj, [](const char *name, const typename view_type::entity_type entt) { + present_element(obj, [](const char *name, const view_type::entity_type entt) { ImGui::Text("%s: %d [%d/%d]", name, to_integral(entt), to_entity(entt), to_version(entt)); }); }