summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-08 16:12:20 +0000
committerChris Lattner <sabre@nondot.org>2004-12-08 16:12:20 +0000
commit674ce86cd0dddb488e5da4a1a9048de270befe60 (patch)
tree2f32f2344916787a7af8cb426c0a5bbd115b92d5 /llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
parent6ef473f53c69aba79d874ffc93b476750cfcd1b2 (diff)
downloadbcm5719-llvm-674ce86cd0dddb488e5da4a1a9048de270befe60.tar.gz
bcm5719-llvm-674ce86cd0dddb488e5da4a1a9048de270befe60.zip
Add support for compilers without argument dependent name lookup, contributed
by Bjørn Wennberg llvm-svn: 18627
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp2
1 files changed, 1 insertions, 1 deletions
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));
OpenPOWER on IntegriCloud