Explorar o código

registry: defaulted trivial destructor with implicit noexcept specification

Michele Caini hai 1 ano
pai
achega
5f1a14cd43
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/entt/entity/registry.hpp

+ 1 - 1
src/entt/entity/registry.hpp

@@ -363,7 +363,7 @@ public:
     }
 
     /*! @brief Default destructor. */
-    ~basic_registry() noexcept(false) {}
+    ~basic_registry() = default;
 
     /**
      * @brief Default copy assignment operator, deleted on purpose.