Boost logo

Boost :

From: Janusz Piwowarski (jpiw_at_[hidden])
Date: 2003-08-27 12:10:26


Hi all,

I think removed lines are unnecessary (probably were unknowingly copied
from previous struct)

Regards,
Janusz

Index: edmunds_karp_max_flow.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/graph/edmunds_karp_max_flow.hpp,v
retrieving revision 1.13
diff -b -u -r1.13 edmunds_karp_max_flow.hpp
--- edmunds_karp_max_flow.hpp 15 Jan 2002 03:33:26 -0000 1.13
+++ edmunds_karp_max_flow.hpp 27 Aug 2003 17:12:58 -0000
@@ -196,12 +196,6 @@
             const bgl_named_params<P, T, R>& params,
             PredMap pred)
       {
- typedef typename graph_traits<Graph>::edge_descriptor edge_descriptor;
- typedef typename graph_traits<Graph>::vertices_size_type size_type;
- size_type n = is_default_param(get_param(params, vertex_predecessor)) ?
- num_vertices(g) : 1;
- std::vector<edge_descriptor> pred_vec(n);
-
         typedef typename property_value< bgl_named_params<P,T,R>, vertex_color_t>::type C;
         return edmunds_karp_dispatch2<C>::apply
           (g, src, sink, pred, params, get_param(params, vertex_color));


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk