skypjack пре 8 месеци
родитељ
комит
6a4ca4c4ba
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
                 }