diff options
author | Chris Lattner <sabre@nondot.org> | 2008-12-01 19:45:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-12-01 19:45:45 +0000 |
commit | 7b6113c6e2f23f3bf8b2505bf13bc15b4995c82a (patch) | |
tree | 9b592e5b0e435c259bbaa98e5e7b9ab2819ff4e0 | |
parent | 1a6cdb6b50f982122453babde406215e849bb021 (diff) |
don't #include <algorithm> into the llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60365 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/STLExtras.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index 7be7699bcc..a9e195e125 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -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) { |