summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp')
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
index 28830afba8..21a6e93e04 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));