Add support for compilers without argument dependent name lookup, contributed
by Bjørn Wennberg


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18627 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
index 28830af..21a6e93 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/Graph.cpp
@@ -383,7 +383,7 @@
 
   //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));