diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-12-08 16:12:20 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-12-08 16:12:20 +0000 |
| commit | 674ce86cd0dddb488e5da4a1a9048de270befe60 (patch) | |
| tree | 2f32f2344916787a7af8cb426c0a5bbd115b92d5 /llvm/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp | |
| parent | 6ef473f53c69aba79d874ffc93b476750cfcd1b2 (diff) | |
| download | bcm5719-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.cpp | 2 |
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)); |

