Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52215 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-04-06 12:53:09


Author: jewillco
Date: 2009-04-06 12:53:08 EDT (Mon, 06 Apr 2009)
New Revision: 52215
URL: http://svn.boost.org/trac/boost/changeset/52215

Log:
Added enable_if to match PBGL
Text files modified:
   trunk/boost/graph/dijkstra_shortest_paths.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/graph/dijkstra_shortest_paths.hpp
==============================================================================
--- trunk/boost/graph/dijkstra_shortest_paths.hpp (original)
+++ trunk/boost/graph/dijkstra_shortest_paths.hpp 2009-04-06 12:53:08 EDT (Mon, 06 Apr 2009)
@@ -344,7 +344,8 @@
      PredecessorMap predecessor, DistanceMap distance, WeightMap weight,
      IndexMap index_map,
      Compare compare, Combine combine, DistInf inf, DistZero zero,
- DijkstraVisitor vis)
+ DijkstraVisitor vis
+ BOOST_GRAPH_ENABLE_IF_MODELS_PARM(VertexListGraph,vertex_list_graph_tag))
   {
     boost::two_bit_color_map<IndexMap> color(num_vertices(g), index_map);
     dijkstra_shortest_paths(g, s, predecessor, distance, weight, index_map,


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