Boost logo

Boost Users :

From: Angus Leeming (yg-boost-users_at_[hidden])
Date: 2003-08-14 07:18:12


The following trivial patch is needed to compile write_graphviz from today's
CVS.

Regards,
Angus

Index: graphviz.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/graph/graphviz.hpp,v
retrieving revision 1.18
diff -u -p -r1.18 graphviz.hpp
--- graphviz.hpp 12 Aug 2003 01:15:37 -0000 1.18
+++ graphviz.hpp 14 Aug 2003 11:15:49 -0000
@@ -249,7 +249,7 @@ namespace boost {
                              GraphPropertiesWriter gpw)
   {
     typedef typename property_map<Graph, vertex_index_t>::const_type
vimap_t;
- vimap_t vertex_index = get(g, vertex_index_t());
+ vimap_t vertex_index = get(vertex_index_t(), g);
     typedef typename graph_traits<Graph>::directed_category cat_type;
     typedef graphviz_io_traits<cat_type> Traits;
     std::string name = "G";


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net