From 66ee7bab32075235bdcade8f39e141fc511ca0df Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 5 Oct 2023 14:17:35 +0200 Subject: [PATCH] any: use is_void_v as needed --- src/entt/core/any.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/core/any.hpp b/src/entt/core/any.hpp index 5c9e4260f..deb3408b4 100644 --- a/src/entt/core/any.hpp +++ b/src/entt/core/any.hpp @@ -66,7 +66,7 @@ class basic_any { template static const void *basic_vtable(const operation op, const basic_any &value, const void *other) { - static_assert(!std::is_same_v && std::is_same_v>, Type>, "Invalid type"); + static_assert(!std::is_void_v && std::is_same_v>, Type>, "Invalid type"); const Type *element = nullptr; if constexpr(in_situ) {