Преглед изворни кода

group: make msvc happy with constness on virtual functions

Michele Caini пре 2 година
родитељ
комит
78867d5c9b
1 измењених фајлова са 1 додато и 1 уклоњено
  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) {