|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66204 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2010-10-26 14:37:31
Author: jewillco
Date: 2010-10-26 14:37:29 EDT (Tue, 26 Oct 2010)
New Revision: 66204
URL: http://svn.boost.org/trac/boost/changeset/66204
Log:
Fixed signature of copy_one_vertex(); refs #4793
Text files modified:
trunk/boost/graph/copy.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/graph/copy.hpp
==============================================================================
--- trunk/boost/graph/copy.hpp (original)
+++ trunk/boost/graph/copy.hpp 2010-10-26 14:37:29 EDT (Tue, 26 Oct 2010)
@@ -350,7 +350,7 @@
: g_out(graph), orig2copy(c), copy_vertex(cv), copy_edge(ce) { }
template <class Vertex, class Graph>
- typename graph_traits<NewGraph>::vertex_descriptor copy_one_vertex(Vertex u, const Graph& g_in) const {
+ typename graph_traits<NewGraph>::vertex_descriptor copy_one_vertex(Vertex u) const {
typename graph_traits<NewGraph>::vertex_descriptor
new_u = add_vertex(g_out);
put(orig2copy, u, new_u);
@@ -364,7 +364,7 @@
typename graph_traits<NewGraph>::edge_descriptor new_e;
bool inserted;
boost::tie(new_e, inserted) = add_edge(get(orig2copy, source(e, g_in)),
- this->copy_one_vertex(target(e, g_in), g_in),
+ this->copy_one_vertex(target(e, g_in)),
g_out);
copy_edge(e, new_e);
}
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