Преглед изворни кода

graph: implicit noexcept-ness for dtors

Michele Caini пре 2 година
родитељ
комит
aa0e16fc93
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      src/entt/graph/adjacency_matrix.hpp
  2. 1 1
      src/entt/graph/flow.hpp

+ 1 - 1
src/entt/graph/adjacency_matrix.hpp

@@ -161,7 +161,7 @@ public:
           vert{other.vert} {}
 
     /*! @brief Default destructor. */
-    ~adjacency_matrix() noexcept = default;
+    ~adjacency_matrix() = default;
 
     /**
      * @brief Default copy assignment operator.

+ 1 - 1
src/entt/graph/flow.hpp

@@ -166,7 +166,7 @@ public:
           sync_on{other.sync_on} {}
 
     /*! @brief Default destructor. */
-    ~basic_flow() noexcept = default;
+    ~basic_flow() = default;
 
     /**
      * @brief Default copy assignment operator.