From bf7313572176ccad092f83c241be92d8e470cc65 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 27 Jun 2006 13:46:36 +0000 Subject: [PATCH] Fix parameter to add_vertices [SVN r34413] --- include/boost/graph/compressed_sparse_row_graph.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/graph/compressed_sparse_row_graph.hpp b/include/boost/graph/compressed_sparse_row_graph.hpp index f95884a5..853bfb20 100644 --- a/include/boost/graph/compressed_sparse_row_graph.hpp +++ b/include/boost/graph/compressed_sparse_row_graph.hpp @@ -352,7 +352,7 @@ add_vertex(BOOST_CSR_GRAPH_TYPE& g) { template inline Vertex -add_vertices(Vertex count, BOOST_CSR_GRAPH_TYPE& g) { +add_vertices(typename BOOST_CSR_GRAPH_TYPE::vertices_size_type count, BOOST_CSR_GRAPH_TYPE& g) { Vertex old_num_verts_plus_one = g.m_rowstart.size(); g.m_rowstart.resize(old_num_verts_plus_one + count, EdgeIndex(0)); return old_num_verts_plus_one - 1;