Sfoglia il codice sorgente

tools: update davey

skypjack 5 mesi fa
parent
commit
84fee2848f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
 
             for(auto [id, curr]: type.data()) {
-                if(curr.get(nullptr) == elem) {
+                if(curr.get(entt::meta_any{}) == elem) {
                     as_string = curr.name();
                     break;
                 }