From f0a69e09fcae8ff067854bc046fda308f7b4ced6 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Sun, 28 Jan 2001 02:25:44 +0000 Subject: [PATCH] added constructor requirement to MutableGraph [SVN r8802] --- include/boost/graph/graph_concepts.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/graph/graph_concepts.hpp b/include/boost/graph/graph_concepts.hpp index f4fd3600..e23af49a 100644 --- a/include/boost/graph/graph_concepts.hpp +++ b/include/boost/graph/graph_concepts.hpp @@ -208,6 +208,7 @@ namespace boost { { typedef typename graph_traits::edge_descriptor edge_descriptor; void constraints() { + G g(n_vertices); v = add_vertex(g); clear_vertex(v, g); remove_vertex(v, g); @@ -220,6 +221,7 @@ namespace boost { std::pair p; typename graph_traits::vertex_descriptor u, v; typename graph_traits::out_edge_iterator iter; + typename graph_traits::vertices_size_type n_vertices; }; template