1
0
Эх сурвалжийг харах

edge_iterator: const correctness

Michele Caini 1 жил өмнө
parent
commit
eb1e055941

+ 1 - 1
src/entt/graph/adjacency_matrix.hpp

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