Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76394 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2012-01-09 20:29:39


Author: jewillco
Date: 2012-01-09 20:29:38 EST (Mon, 09 Jan 2012)
New Revision: 76394
URL: http://svn.boost.org/trac/boost/changeset/76394

Log:
Applied patch from #6371; fixes #6371
Text files modified:
   trunk/boost/graph/directed_graph.hpp | 2 +-
   trunk/boost/graph/undirected_graph.hpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/graph/directed_graph.hpp
==============================================================================
--- trunk/boost/graph/directed_graph.hpp (original)
+++ trunk/boost/graph/directed_graph.hpp 2012-01-09 20:29:38 EST (Mon, 09 Jan 2012)
@@ -410,7 +410,7 @@
 typename DIRECTED_GRAPH::vertex_descriptor
 vertex(typename DIRECTED_GRAPH::vertices_size_type n,
        DIRECTED_GRAPH const& g)
-{ return vertex(g.impl()); }
+{ return vertex(n, g.impl()); }
 
 template <DIRECTED_GRAPH_PARAMS>
 std::pair<typename DIRECTED_GRAPH::edge_descriptor, bool>

Modified: trunk/boost/graph/undirected_graph.hpp
==============================================================================
--- trunk/boost/graph/undirected_graph.hpp (original)
+++ trunk/boost/graph/undirected_graph.hpp 2012-01-09 20:29:38 EST (Mon, 09 Jan 2012)
@@ -413,7 +413,7 @@
 typename UNDIRECTED_GRAPH::vertex_descriptor
 vertex(typename UNDIRECTED_GRAPH::vertices_size_type n,
        UNDIRECTED_GRAPH const& g)
-{ return vertex(g.impl()); }
+{ return vertex(n, g.impl()); }
 
 template <UNDIRECTED_GRAPH_PARAMS>
 std::pair<typename UNDIRECTED_GRAPH::edge_descriptor, bool>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk