test: explicit nullptr check

This commit is contained in:
skypjack
2025-11-15 18:55:17 +01:00
parent 03a45d9cca
commit 713bcd50a3

View File

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