From 17a213ad8b095f6372c1d5f8231a7dbe6e262b08 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 8 Dec 2004 16:12:20 +0000 Subject: =?UTF-8?q?Add=20support=20for=20compilers=20without=20argument=20?= =?UTF-8?q?dependent=20name=20lookup,=20contributed=20by=20Bj=C3=B8rn=20We?= =?UTF-8?q?nnberg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18627 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp index 28830af..21a6e93 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp +++ b/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.1