Selaa lähdekoodia

tools: update davey

skypjack 8 kuukautta sitten
vanhempi
commit
6a4ca4c4ba
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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({}) == elem) {
+                if(curr.get(nullptr) == elem) {
                     as_string = curr.name();
                     break;
                 }