diff --git a/include/boost/graph/successive_shortest_path_nonnegative_weights.hpp b/include/boost/graph/successive_shortest_path_nonnegative_weights.hpp index 6a3aeb168..5edb0a383 100644 --- a/include/boost/graph/successive_shortest_path_nonnegative_weights.hpp +++ b/include/boost/graph/successive_shortest_path_nonnegative_weights.hpp @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -129,7 +130,7 @@ void successive_shortest_path_nonnegative_weights_dispatch3( //setting default distance map template void successive_shortest_path_nonnegative_weights_dispatch3( - Graph &g, + const Graph &g, typename graph_traits::vertex_descriptor s, typename graph_traits::vertex_descriptor t, Capacity capacity, @@ -150,7 +151,7 @@ void successive_shortest_path_nonnegative_weights_dispatch3( template void successive_shortest_path_nonnegative_weights_dispatch2( - Graph &g, + const Graph &g, typename graph_traits::vertex_descriptor s, typename graph_traits::vertex_descriptor t, Capacity capacity, @@ -167,7 +168,7 @@ void successive_shortest_path_nonnegative_weights_dispatch2( //setting default distance map template void successive_shortest_path_nonnegative_weights_dispatch2( - Graph &g, + const Graph &g, typename graph_traits::vertex_descriptor s, typename graph_traits::vertex_descriptor t, Capacity capacity, @@ -189,7 +190,7 @@ void successive_shortest_path_nonnegative_weights_dispatch2( template void successive_shortest_path_nonnegative_weights_dispatch1( - Graph &g, + const Graph &g, typename graph_traits::vertex_descriptor s, typename graph_traits::vertex_descriptor t, Capacity capacity, @@ -206,7 +207,7 @@ void successive_shortest_path_nonnegative_weights_dispatch1( //setting default predecessors map template void successive_shortest_path_nonnegative_weights_dispatch1( - Graph &g, + const Graph &g, typename graph_traits::vertex_descriptor s, typename graph_traits::vertex_descriptor t, Capacity capacity, @@ -257,3 +258,4 @@ void successive_shortest_path_nonnegative_weights( }//boost #endif /* BOOST_GRAPH_SUCCESSIVE_SHORTEST_PATH_HPP */ +