Explorar o código

storage: minor changes (for consistency)

Michele Caini %!s(int64=3) %!d(string=hai) anos
pai
achega
e15ad2e21b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/entt/entity/storage.hpp

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

@@ -50,7 +50,7 @@ public:
 
     constexpr storage_iterator() noexcept = default;
 
-    constexpr storage_iterator(Container *ref, difference_type idx) noexcept
+    constexpr storage_iterator(Container *ref, const difference_type idx) noexcept
         : packed{ref},
           offset{idx} {}