From 5f1a14cd431dcbedc9e7a40ee3d2a3900bbd2ca9 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 12 Sep 2024 18:05:49 +0200 Subject: [PATCH] registry: defaulted trivial destructor with implicit noexcept specification --- src/entt/entity/registry.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index d28b4fde7..fa2f8fb2f 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -363,7 +363,7 @@ class basic_registry { } /*! @brief Default destructor. */ - ~basic_registry() noexcept(false) {} + ~basic_registry() = default; /** * @brief Default copy assignment operator, deleted on purpose.