Sfoglia il codice sorgente

registry: defaulted trivial destructor with implicit noexcept specification

Michele Caini 1 anno fa
parent
commit
5f1a14cd43
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.