Просмотр исходного кода

group: make msvc happy with constness on virtual functions

Michele Caini 3 лет назад
Родитель
Сommit
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) {