Explorar el Código

meta: implicit noexcept-ness for dtors

Michele Caini hace 1 año
padre
commit
c742fcf371
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/entt/meta/meta.hpp

+ 2 - 2
src/entt/meta/meta.hpp

@@ -317,7 +317,7 @@ public:
           vtable{std::exchange(other.vtable, &basic_vtable<void>)} {}
 
     /*! @brief Frees the internal storage, whatever it means. */
-    ~meta_any() noexcept {
+    ~meta_any() {
         release();
     }
 
@@ -715,7 +715,7 @@ struct meta_handle {
     meta_handle(meta_handle &&) = default;
 
     /*! @brief Default destructor. */
-    ~meta_handle() noexcept = default;
+    ~meta_handle() = default;
 
     /**
      * @brief Default copy assignment operator, deleted on purpose.