From 00365b26d9d64e8eece0f7d70ca96153376366dc Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 24 Jan 2025 09:34:46 +0100 Subject: [PATCH] any: suppress a wrong warning by the linter --- src/entt/core/any.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entt/core/any.hpp b/src/entt/core/any.hpp index 0cd5d48b5..27d5d86c0 100644 --- a/src/entt/core/any.hpp +++ b/src/entt/core/any.hpp @@ -45,6 +45,7 @@ class basic_any { }; template + // NOLINTNEXTLINE(bugprone-sizeof-expression) static constexpr bool in_situ = (Len != 0u) && alignof(Type) <= Align && sizeof(Type) <= Len && std::is_nothrow_move_constructible_v; template