Răsfoiți Sursa

group: make msvc happy with constness on virtual functions

Michele Caini 3 ani în urmă
părinte
comite
78867d5c9b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;
 
         for(auto pos = 0u; pos < length; ++pos) {