From 674ce86cd0dddb488e5da4a1a9048de270befe60 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 8 Dec 2004 16:12:20 +0000 Subject: Add support for compilers without argument dependent name lookup, contributed by Bjørn Wennberg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit llvm-svn: 18627 --- llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp') diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp index 28830afba82..21a6e93e044 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp +++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp @@ -383,7 +383,7 @@ Graph* Graph::getMaxSpanningTree(){ //keep pulling out vertex of min wt from vt while(!vt.empty()){ - Node *u=*(min_element(vt.begin(), vt.end(), compare_nodes())); + Node *u=*(std::min_element(vt.begin(), vt.end(), compare_nodes())); DEBUG(std::cerr<<"popped wt"<<(u)->getWeight()<<"\n"; printNode(u)); -- cgit v1.2.3