Browse Source

group: use override rather than virtual

skypjack 1 year ago
parent
commit
b5e7e8c6f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/entity/group.hpp

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

@@ -149,7 +149,7 @@ public:
         common_setup();
     }
 
-    virtual bool owned(const id_type hash) const noexcept {
+    bool owned(const id_type hash) const noexcept override {
         for(size_type pos{}; pos < Owned; ++pos) {
             if(pools[pos]->type().hash() == hash) {
                 return true;