Procházet zdrojové kódy

group: make msvc happy with constness on virtual functions

Michele Caini před 3 roky
rodič
revize
78867d5c9b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {