1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Add support for compilers without argument dependent name lookup, contributed

by Bjørn Wennberg

llvm-svn: 18627
This commit is contained in:
Chris Lattner 2004-12-08 16:12:20 +00:00
parent aa0eee9e3e
commit 8ecbc96420

View File

@ -383,7 +383,7 @@ Graph* Graph::getMaxSpanningTree(){
//keep pulling out vertex of min wt from vt //keep pulling out vertex of min wt from vt
while(!vt.empty()){ 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"; DEBUG(std::cerr<<"popped wt"<<(u)->getWeight()<<"\n";
printNode(u)); printNode(u));