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); }