Browse Source

meta: internal changes

skypjack 5 months ago
parent
commit
5ee1f3fec1
1 changed files with 1 additions and 1 deletions
  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) {
 [[nodiscard]] inline bool meta_any::allow_cast(const meta_type &type) {