From 76083c7e677fbf2d5f8be37666d90eab0d43b4f5 Mon Sep 17 00:00:00 2001 From: Jeremiah Willcock Date: Tue, 27 Oct 2009 18:05:50 +0000 Subject: [PATCH] Fixed bind ambiguity; fixes #3569 [SVN r57177] --- include/boost/graph/howard_cycle_ratio.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/boost/graph/howard_cycle_ratio.hpp b/include/boost/graph/howard_cycle_ratio.hpp index 709499ff..9a9365bc 100644 --- a/include/boost/graph/howard_cycle_ratio.hpp +++ b/include/boost/graph/howard_cycle_ratio.hpp @@ -216,10 +216,10 @@ namespace boost { tie(oei, oeie) = out_edges(*vi, m_g); typename graph_traits::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 @@ namespace boost { 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_white, - bind(&color_map_t::operator[], vcm_, _1) - ) + boost::bind(std::equal_to(), + my_white, + boost::bind(&color_map_t::operator[], vcm_, _1) + ) ) ) != vie ) ///While there are undiscovered vertices