Add std:: prefix for compilers without correct koenig lookup implemented.
authorChris Lattner <sabre@nondot.org>
Tue, 12 Oct 2004 16:10:39 +0000 (16:10 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 12 Oct 2004 16:10:39 +0000 (16:10 +0000)
Patch contributed by Paolo Invernizzi

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16933 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/IntervalIterator.h

index 6250d94a96c4289a841f7fbea523daf3c78b9edb..066046af9e92f9b076ad38bf08d14d8fef684d8c 100644 (file)
@@ -220,8 +220,8 @@ private:
     
       if (Int->isSuccessor(NodeHeader)) {
        // If we were in the successor list from before... remove from succ list
-       Int->Successors.erase(remove(Int->Successors.begin(),
-                                    Int->Successors.end(), NodeHeader), 
+       Int->Successors.erase(std::remove(Int->Successors.begin(),
+                                         Int->Successors.end(), NodeHeader), 
                              Int->Successors.end());
       }