Ver Fonte

minor changes

Michele Caini há 7 anos atrás
pai
commit
a7caae5c17
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/entt/entity/registry.hpp

+ 1 - 1
src/entt/entity/registry.hpp

@@ -84,7 +84,7 @@ class registry {
             return component;
         }
 
-        void destroy(Entity entity) {
+        void destroy(Entity entity) override {
             destruction.publish(*owner, entity);
             sparse_set<Entity, Component>::destroy(entity);
         }