Parcourir la source

meta: internal changes

skypjack il y a 5 mois
Parent
commit
5ee1f3fec1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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) {