diff --git a/src/entt/tools/davey.hpp b/src/entt/tools/davey.hpp index c377c4059..bca386e8d 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({}) == elem) { + if(curr.get(nullptr) == elem) { as_string = curr.name(); break; }