don't #include <algorithm> into the llvm namespace.
authorChris Lattner <sabre@nondot.org>
Mon, 1 Dec 2008 19:45:45 +0000 (19:45 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 1 Dec 2008 19:45:45 +0000 (19:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60365 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/STLExtras.h

index 7be7699bcc2b041d6c673b193736746cde6c0742..a9e195e1256fbadefe1fffbcd8c9b2496639ca3f 100644 (file)
@@ -246,7 +246,9 @@ static inline int array_pod_sort_comparator(const void *P1, const void *P2) {
 ///
 /// NOTE: If qsort_r were portable, we could allow a custom comparator and
 /// default to std::less.
+}
 #include <algorithm>
+namespace llvm {
   
 template<class IteratorTy>
 static inline void array_pod_sort(IteratorTy Start, IteratorTy End) {