Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions include/boost/graph/r_c_shortest_paths.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
#include <queue>
#include <vector>
#include <list>

#include <memory>

#include <boost/range/iterator_range_core.hpp>
#include <boost/graph/detail/visitor_wrapper.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/iteration_macros.hpp>
#include <boost/property_map/property_map.hpp>

namespace boost
Expand Down Expand Up @@ -193,7 +193,8 @@ namespace detail
vec_last_valid_positions_for_dominance(
vec_last_valid_positions_for_dominance_data.begin(),
vertex_index_map);
BGL_FORALL_VERTICES_T(v, g, Graph)

for(const auto v: boost::make_iterator_range(vertices(g)))
{
put(vec_last_valid_positions_for_dominance, v,
vec_vertex_labels[v].begin());
Expand Down Expand Up @@ -434,15 +435,6 @@ namespace detail
break;
}
}

BGL_FORALL_VERTICES_T(i, g, Graph)
{
auto& list_labels_cur_vertex = vec_vertex_labels[i];
for (auto& label : list_labels_cur_vertex)
{
label.reset();
}
}
} // r_c_shortest_paths_dispatch

} // detail
Expand Down
Loading