mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-03 02:22:46 +00:00
Refactoring: prefix inc/dec operators for iterators
This commit is contained in:
committed by
Alessandro Ranellucci
parent
06913cc8b8
commit
f2c4a66e45
@@ -362,7 +362,7 @@ MotionPlannerGraph::shortest_path(size_t from, size_t to)
|
||||
const std::vector<neighbor> &neighbors = this->adjacency_list[u];
|
||||
for (std::vector<neighbor>::const_iterator neighbor_iter = neighbors.begin();
|
||||
neighbor_iter != neighbors.end();
|
||||
neighbor_iter++)
|
||||
++neighbor_iter)
|
||||
{
|
||||
// neighbor node is v
|
||||
node_t v = neighbor_iter->target;
|
||||
|
||||
Reference in New Issue
Block a user