Przeglądaj źródła

group: make msvc happy with constness on virtual functions

Michele Caini 2 lat temu
rodzic
commit
78867d5c9b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/entt/entity/group.hpp

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

@@ -152,7 +152,7 @@ public:
         }
         }
     }
     }
 
 
-    size_type owned(const id_type *elem, size_type length) const noexcept final {
+    size_type owned(const id_type *elem, const size_type length) const noexcept final {
         size_type cnt = 0u;
         size_type cnt = 0u;
 
 
         for(auto pos = 0u; pos < length; ++pos) {
         for(auto pos = 0u; pos < length; ++pos) {