|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77188 - in trunk: boost/graph/detail libs/graph/src
From: jewillco_at_[hidden]
Date: 2012-03-03 16:19:04
Author: jewillco
Date: 2012-03-03 16:19:03 EST (Sat, 03 Mar 2012)
New Revision: 77188
URL: http://svn.boost.org/trac/boost/changeset/77188
Log:
Added finish call to mutate_graph
Text files modified:
trunk/boost/graph/detail/read_graphviz_spirit.hpp | 4 +++-
trunk/libs/graph/src/read_graphviz_new.cpp | 1 +
2 files changed, 4 insertions(+), 1 deletions(-)
Modified: trunk/boost/graph/detail/read_graphviz_spirit.hpp
==============================================================================
--- trunk/boost/graph/detail/read_graphviz_spirit.hpp (original)
+++ trunk/boost/graph/detail/read_graphviz_spirit.hpp 2012-03-03 16:19:03 EST (Sat, 03 Mar 2012)
@@ -604,7 +604,9 @@
scanner_t scan(begin, end, policies);
- return p.parse(scan);
+ bool ok = p.parse(scan);
+ m_graph.finish_building_graph();
+ return ok;
}
} // namespace boost
Modified: trunk/libs/graph/src/read_graphviz_new.cpp
==============================================================================
--- trunk/libs/graph/src/read_graphviz_new.cpp (original)
+++ trunk/libs/graph/src/read_graphviz_new.cpp 2012-03-03 16:19:03 EST (Sat, 03 Mar 2012)
@@ -787,6 +787,7 @@
for (properties::const_iterator i = root_graph_props.begin(); i != root_graph_props.end(); ++i) {
mg->set_graph_property(i->first, i->second);
}
+ mg->finish_building_graph();
}
} // end namespace read_graphviz_detail
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