meta: make meta_handle support empty construction from nullptr

This commit is contained in:
skypjack
2025-09-24 15:14:33 +02:00
parent affe6ca7b8
commit 71e61b5270
8 changed files with 92 additions and 89 deletions

View File

@@ -106,7 +106,7 @@ TYPED_TEST(EntityCopy, CrossRegistry) {
if(!other) {
using namespace entt::literals;
entt::resolve(storage.info()).invoke("storage"_hs, {}, entt::forward_as_meta(dst), id);
entt::resolve(storage.info()).invoke("storage"_hs, nullptr, entt::forward_as_meta(dst), id);
other = dst.storage(id);
}