diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-08-04 17:53:05 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-08-04 17:53:05 -0700 |
| commit | 8278eb88376341420817f15791fe7c1715e04a4f (patch) | |
| tree | 4195bafa4e21a5787cb3ada46bc0816d67d487dd /lib/libcxx/src/algorithm.cpp | |
| parent | ac5c6b6061c6454a891c22a8258069370b57c05b (diff) | |
| download | zig-8278eb88376341420817f15791fe7c1715e04a4f.tar.gz zig-8278eb88376341420817f15791fe7c1715e04a4f.zip | |
update libcxx to LLVM 15
release/15.x commit 134fd359a5d884f16662a9edd22ab24feeb1498c
Diffstat (limited to 'lib/libcxx/src/algorithm.cpp')
| -rw-r--r-- | lib/libcxx/src/algorithm.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcxx/src/algorithm.cpp b/lib/libcxx/src/algorithm.cpp index 4cc7c2725a..bd47e08b38 100644 --- a/lib/libcxx/src/algorithm.cpp +++ b/lib/libcxx/src/algorithm.cpp @@ -6,10 +6,12 @@ // //===----------------------------------------------------------------------===// -#include "algorithm" +#include <algorithm> _LIBCPP_BEGIN_NAMESPACE_STD +// TODO(varconst): this currently doesn't benefit `ranges::sort` because it uses `ranges::less` instead of `__less`. + template void __sort<__less<char>&, char*>(char*, char*, __less<char>&); #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS template void __sort<__less<wchar_t>&, wchar_t*>(wchar_t*, wchar_t*, __less<wchar_t>&); |
