From 505bb4c8cbe06941d4f96464e2f0309c4efa36fd Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 21 May 2024 10:31:36 +0200 Subject: [PATCH] any: minor changes --- 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 5f57bf0aa..3265bba74 100644 --- a/src/entt/core/any.hpp +++ b/src/entt/core/any.hpp @@ -208,7 +208,7 @@ public: } /*! @brief Frees the internal storage, whatever it means. */ - ~basic_any() { + ~basic_any() noexcept { if(vtable && (mode == any_policy::owner)) { vtable(operation::destroy, *this, nullptr); }