|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62404 - trunk/boost/graph/distributed
From: jewillco_at_[hidden]
Date: 2010-06-03 11:46:03
Author: jewillco
Date: 2010-06-03 11:46:01 EDT (Thu, 03 Jun 2010)
New Revision: 62404
URL: http://svn.boost.org/trac/boost/changeset/62404
Log:
Fixed warnings about ambiguous else clauses
Text files modified:
trunk/boost/graph/distributed/strong_components.hpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: trunk/boost/graph/distributed/strong_components.hpp
==============================================================================
--- trunk/boost/graph/distributed/strong_components.hpp (original)
+++ trunk/boost/graph/distributed/strong_components.hpp 2010-06-03 11:46:01 EDT (Thu, 03 Jun 2010)
@@ -478,20 +478,22 @@
for( tie(vstart, vend) = vertices(g); vstart != vend; vstart++ ) {
vertex_descriptor v = get(succ_map, *vstart);
- if( v != graph_traits<Graph>::null_vertex() )
+ if( v != graph_traits<Graph>::null_vertex() ) {
if (dest_map[v] == id)
set_map[v].succ.push_back(*vstart);
else
successors[dest_map[v]].push_back( std::make_pair(v, *vstart) );
+ }
}
for( tie(rev_vstart, rev_vend) = vertices(gr); rev_vstart != rev_vend; rev_vstart++ ) {
vertex_descriptor v = get(pred_map, *rev_vstart);
- if( v != graph_traits<Graph>::null_vertex() )
+ if( v != graph_traits<Graph>::null_vertex() ) {
if (dest_map[v] == id)
set_map[v].pred.push_back(get(rf, *rev_vstart));
else
predecessors[dest_map[v]].push_back( std::make_pair(v, get(rf, *rev_vstart)) );
+ }
}
// Send predecessor and successor messages
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