skypjack 5 месяцев назад
Родитель
Сommit
5ee1f3fec1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/meta/meta.hpp

+ 1 - 1
src/entt/meta/meta.hpp

@@ -1586,7 +1586,7 @@ bool meta_any::set(const id_type id, Type &&value) {
         });
     }
 
-    return meta_any{};
+    return meta_any{meta_ctx_arg, *ctx};
 }
 
 [[nodiscard]] inline bool meta_any::allow_cast(const meta_type &type) {