diff --git a/include/boost/graph/transitive_closure.hpp b/include/boost/graph/transitive_closure.hpp index 7a9779d2..96d9c022 100644 --- a/include/boost/graph/transitive_closure.hpp +++ b/include/boost/graph/transitive_closure.hpp @@ -241,7 +241,7 @@ namespace boost { using namespace detail; function_requires< AdjacencyGraphConcept >(); - function_requires< MutableGraphConcept >(); + function_requires< EdgeMutableGraphConcept >(); typedef typename graph_traits::vertex_descriptor vertex; typedef typename graph_traits::edge_descriptor edge; @@ -356,7 +356,7 @@ namespace boost { typedef typename graph_traits::vertex_iterator vertex_iterator; function_requires< AdjacencyMatrixConcept >(); - function_requires< MutableGraphConcept >(); + function_requires< EdgeMutableGraphConcept >(); // Matrix form: // for k @@ -384,7 +384,7 @@ namespace boost { typedef typename graph_traits::vertex_iterator vertex_iterator; function_requires< AdjacencyMatrixConcept >(); - function_requires< MutableGraphConcept >(); + function_requires< EdgeMutableGraphConcept >(); // Make sure second loop will work if (num_vertices(g) == 0)