Browse Source

tools: update davey

skypjack 5 months ago
parent
commit
84fee2848f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/tools/davey.hpp

+ 1 - 1
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;
             const char *as_string = nullptr;
 
 
             for(auto [id, curr]: type.data()) {
             for(auto [id, curr]: type.data()) {
-                if(curr.get(nullptr) == elem) {
+                if(curr.get(entt::meta_any{}) == elem) {
                     as_string = curr.name();
                     as_string = curr.name();
                     break;
                     break;
                 }
                 }