diff options
-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) { |