Ticket #3569: graph.patch

File graph.patch, 1.8 KB (added by Richard Webb <richard.webb@…>, 13 years ago)
  • boost/graph/howard_cycle_ratio.hpp

     
    216216            tie(oei, oeie) = out_edges(*vi, m_g);
    217217            typename graph_traits<Graph>::out_edge_iterator mei =
    218218              std::max_element(oei, oeie,
    219                                bind(m_cmp,
    220                                     bind(&EdgeWeight1::operator[], m_ew1m, _1),
    221                                     bind(&EdgeWeight1::operator[], m_ew1m, _2)
    222                                     )
     219                               boost::bind(m_cmp,
     220                                           boost::bind(&EdgeWeight1::operator[], m_ew1m, _1),
     221                                           boost::bind(&EdgeWeight1::operator[], m_ew1m, _2)
     222                                           )
    223223                               );
    224224            if (mei == oeie)
    225225              {
     
    334334        tie(uv_itr, vie) = vertices(m_g);
    335335        float_t mcr = m_bound;
    336336        while ( (uv_itr = std::find_if(uv_itr, vie,
    337                                        bind(std::equal_to<my_color_type>(),
    338                                             my_white,
    339                                             bind(&color_map_t::operator[], vcm_, _1)
    340                                             )
     337                                       boost::bind(std::equal_to<my_color_type>(),
     338                                                   my_white,
     339                                                   boost::bind(&color_map_t::operator[], vcm_, _1)
     340                                                   )
    341341                                       )
    342342                 ) != vie )
    343343          ///While there are undiscovered vertices