Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80879 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2012-10-05 18:40:22


Author: jewillco
Date: 2012-10-05 18:40:22 EDT (Fri, 05 Oct 2012)
New Revision: 80879
URL: http://svn.boost.org/trac/boost/changeset/80879

Log:
Fixed return type of vertex_by_label
Text files modified:
   trunk/boost/graph/labeled_graph.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/boost/graph/labeled_graph.hpp
==============================================================================
--- trunk/boost/graph/labeled_graph.hpp (original)
+++ trunk/boost/graph/labeled_graph.hpp 2012-10-05 18:40:22 EDT (Fri, 05 Oct 2012)
@@ -544,8 +544,9 @@
 { return g.label_vertex(v, l); }
 
 template <LABELED_GRAPH_PARAMS>
-inline bool vertex_by_label(typename LABELED_GRAPH::label_type const l,
- LABELED_GRAPH& g)
+inline typename LABELED_GRAPH::vertex_descriptor
+vertex_by_label(typename LABELED_GRAPH::label_type const l,
+ LABELED_GRAPH& g)
 { return g.vertex(l); }
 //@}
 


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