Michele Caini 1 год назад
Родитель
Сommit
af193d8523
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/entity/group.hpp

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

@@ -57,7 +57,7 @@ public:
     }
 
     extended_group_iterator operator++(int) noexcept {
-        extended_group_iterator orig = *this;
+        const extended_group_iterator orig = *this;
         return ++(*this), orig;
     }