Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63234 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2010-06-22 10:38:45


Author: jewillco
Date: 2010-06-22 10:38:45 EDT (Tue, 22 Jun 2010)
New Revision: 63234
URL: http://svn.boost.org/trac/boost/changeset/63234

Log:
Disambiguated boost::tie
Text files modified:
   trunk/boost/graph/breadth_first_search.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/graph/breadth_first_search.hpp
==============================================================================
--- trunk/boost/graph/breadth_first_search.hpp (original)
+++ trunk/boost/graph/breadth_first_search.hpp 2010-06-22 10:38:45 EDT (Tue, 22 Jun 2010)
@@ -73,7 +73,7 @@
     Q.push(s);
     while (! Q.empty()) {
       Vertex u = Q.top(); Q.pop(); vis.examine_vertex(u, g);
- for (tie(ei, ei_end) = out_edges(u, g); ei != ei_end; ++ei) {
+ for (boost::tie(ei, ei_end) = out_edges(u, g); ei != ei_end; ++ei) {
         Vertex v = target(*ei, g); vis.examine_edge(*ei, g);
         ColorValue v_color = get(color, v);
         if (v_color == Color::white()) { vis.tree_edge(*ei, g);
@@ -100,7 +100,7 @@
     typedef typename property_traits<ColorMap>::value_type ColorValue;
     typedef color_traits<ColorValue> Color;
     typename boost::graph_traits<VertexListGraph>::vertex_iterator i, i_end;
- for (tie(i, i_end) = vertices(g); i != i_end; ++i) {
+ for (boost::tie(i, i_end) = vertices(g); i != i_end; ++i) {
       vis.initialize_vertex(*i, g);
       put(color, *i, Color::white());
     }


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