|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57177 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-10-27 14:05:51
Author: jewillco
Date: 2009-10-27 14:05:50 EDT (Tue, 27 Oct 2009)
New Revision: 57177
URL: http://svn.boost.org/trac/boost/changeset/57177
Log:
Fixed bind ambiguity; fixes #3569
Text files modified:
trunk/boost/graph/howard_cycle_ratio.hpp | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
Modified: trunk/boost/graph/howard_cycle_ratio.hpp
==============================================================================
--- trunk/boost/graph/howard_cycle_ratio.hpp (original)
+++ trunk/boost/graph/howard_cycle_ratio.hpp 2009-10-27 14:05:50 EDT (Tue, 27 Oct 2009)
@@ -216,10 +216,10 @@
tie(oei, oeie) = out_edges(*vi, m_g);
typename graph_traits<Graph>::out_edge_iterator mei =
std::max_element(oei, oeie,
- bind(m_cmp,
- bind(&EdgeWeight1::operator[], m_ew1m, _1),
- bind(&EdgeWeight1::operator[], m_ew1m, _2)
- )
+ boost::bind(m_cmp,
+ boost::bind(&EdgeWeight1::operator[], m_ew1m, _1),
+ boost::bind(&EdgeWeight1::operator[], m_ew1m, _2)
+ )
);
if (mei == oeie)
{
@@ -334,10 +334,10 @@
tie(uv_itr, vie) = vertices(m_g);
float_t mcr = m_bound;
while ( (uv_itr = std::find_if(uv_itr, vie,
- bind(std::equal_to<my_color_type>(),
- my_white,
- bind(&color_map_t::operator[], vcm_, _1)
- )
+ boost::bind(std::equal_to<my_color_type>(),
+ my_white,
+ boost::bind(&color_map_t::operator[], vcm_, _1)
+ )
)
) != vie )
///While there are undiscovered vertices
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