Explorar o código

tools: update davey

skypjack hai 8 meses
pai
achega
6a4ca4c4ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
                 }