any: suppress warnings C4706 due to asserts

This commit is contained in:
Michele Caini
2022-10-26 10:57:58 +02:00
parent 94a8bb57dd
commit 2bb913b898

View File

@@ -352,7 +352,7 @@ public:
}
// unnecessary but it helps to detect nasty bugs
ENTT_ASSERT(!(instance = nullptr), "");
ENTT_ASSERT((instance = nullptr) == nullptr, "");
info = &type_id<void>();
vtable = nullptr;
mode = policy::owner;