Parcourir la source

registry: default destructor

Michele Caini il y a 1 an
Parent
commit
d7c9609ee6
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/entt/entity/registry.hpp

+ 3 - 0
src/entt/entity/registry.hpp

@@ -355,6 +355,9 @@ public:
         rebind();
         rebind();
     }
     }
 
 
+    /*! @brief Default destructor. */
+    ~basic_registry() noexcept = default;
+
     /**
     /**
      * @brief Move assignment operator.
      * @brief Move assignment operator.
      * @param other The instance to move from.
      * @param other The instance to move from.