diff options
Diffstat (limited to 'llvm/lib')
| -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)); |

