Explorar el Código

registry: propagate noexcept(false) to registry destructor

Michele Caini hace 1 año
padre
commit
5e1c44195a
Se han modificado 1 ficheros con 1 adiciones y 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 = default;
+    ~basic_registry() noexcept(false) = default;
 
     /**
      * @brief Default copy assignment operator, deleted on purpose.