diff --git a/src/entt/tools/davey.hpp b/src/entt/tools/davey.hpp index bca386e8d..5ac55829c 100644 --- a/src/entt/tools/davey.hpp +++ b/src/entt/tools/davey.hpp @@ -42,7 +42,7 @@ static void present_element(const meta_any &obj, OnEntity on_entity) { const char *as_string = nullptr; for(auto [id, curr]: type.data()) { - if(curr.get(nullptr) == elem) { + if(curr.get(entt::meta_any{}) == elem) { as_string = curr.name(); break; }