[libc++] Adds missing includes.
authorMark de Wever <koraq@xs4all.nl>
Mon, 17 Oct 2022 15:42:00 +0000 (17:42 +0200)
committerMark de Wever <koraq@xs4all.nl>
Mon, 17 Oct 2022 15:42:00 +0000 (17:42 +0200)
Fixes breakage of modular builds when including sort.h directly.

libcxx/include/__algorithm/sort.h
libcxx/include/__algorithm/stable_partition.h

index f97a1165ebbeba4fff7137146da39f6c04c51249..81f6eeb238b6bb4f1fb3b8d075c8980c2126d49e 100644 (file)
@@ -24,6 +24,7 @@
 #include <__iterator/iterator_traits.h>
 #include <__memory/destruct_n.h>
 #include <__memory/unique_ptr.h>
+#include <__utility/move.h>
 #include <climits>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
index 1beb9c3193d0dbe7c93f75222d59a3ccaeb70332..a49de6dbb0ef2de06cc3a2ded41219afaeb11d15 100644 (file)
@@ -18,6 +18,7 @@
 #include <__memory/destruct_n.h>
 #include <__memory/temporary_buffer.h>
 #include <__memory/unique_ptr.h>
+#include <__utility/move.h>
 #include <__utility/pair.h>
 #include <new>
 #include <type_traits>