|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78441 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2012-05-12 16:36:03
Author: jewillco
Date: 2012-05-12 16:36:02 EDT (Sat, 12 May 2012)
New Revision: 78441
URL: http://svn.boost.org/trac/boost/changeset/78441
Log:
Fixed uses of std::min
Text files modified:
trunk/boost/graph/two_graphs_common_spanning_trees.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/graph/two_graphs_common_spanning_trees.hpp
==============================================================================
--- trunk/boost/graph/two_graphs_common_spanning_trees.hpp (original)
+++ trunk/boost/graph/two_graphs_common_spanning_trees.hpp 2012-05-12 16:36:02 EDT (Sat, 12 May 2012)
@@ -78,7 +78,7 @@
void back_edge(const Edge& e, const Graph& g)
{
put(mLow, source(e, g),
- std::min(get(mLow, source(e, g)), get(mDist, target(e, g))));
+ (std::min)(get(mLow, source(e, g)), get(mDist, target(e, g))));
}
template <typename Vertex, typename Graph>
@@ -88,7 +88,7 @@
if(get(mLow, u) > get(mDist, parent))
mBuffer.push(get(mTree, u));
put(mLow, parent,
- std::min(get(mLow, parent), get(mLow, u)));
+ (std::min)(get(mLow, parent), get(mLow, u)));
}
TreeMap mTree;
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