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

storage: minor changes (for consistency)

Michele Caini 3 лет назад
Родитель
Сommit
e15ad2e21b
1 измененных файлов с 1 добавлено и 1 удалено
  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} {}