ソースを参照

meta: internal changes

skypjack 7 ヶ月 前
コミット
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) {