[libcxx-commits] [libcxx] 7712ae0 - [libc++] Adds missing includes.
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 17 08:43:06 PDT 2022
Author: Mark de Wever
Date: 2022-10-17T17:42:00+02:00
New Revision: 7712ae0a02da98b5c028af7be769a8aef99f83e3
URL: https://github.com/llvm/llvm-project/commit/7712ae0a02da98b5c028af7be769a8aef99f83e3
DIFF: https://github.com/llvm/llvm-project/commit/7712ae0a02da98b5c028af7be769a8aef99f83e3.diff
LOG: [libc++] Adds missing includes.
Fixes breakage of modular builds when including sort.h directly.
Added:
Modified:
libcxx/include/__algorithm/sort.h
libcxx/include/__algorithm/stable_partition.h
Removed:
################################################################################
diff --git a/libcxx/include/__algorithm/sort.h b/libcxx/include/__algorithm/sort.h
index f97a1165ebbeb..81f6eeb238b6b 100644
--- a/libcxx/include/__algorithm/sort.h
+++ b/libcxx/include/__algorithm/sort.h
@@ -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)
diff --git a/libcxx/include/__algorithm/stable_partition.h b/libcxx/include/__algorithm/stable_partition.h
index 1beb9c3193d0d..a49de6dbb0ef2 100644
--- a/libcxx/include/__algorithm/stable_partition.h
+++ b/libcxx/include/__algorithm/stable_partition.h
@@ -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>
More information about the libcxx-commits
mailing list