aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/remove.h
diff options
context:
space:
mode:
authorChristopher Di Bella <cjdb@google.com>2021-06-05 02:47:47 +0000
committerChristopher Di Bella <cjdb@google.com>2021-06-24 17:57:29 +0000
commit6adbc83ee9e46b476e0f75d5671c3a21f675a936 (patch)
tree9d9ee2f9363083e4ee60210c154a48d528b55a30 /libcxx/include/__algorithm/remove.h
parentd87f159ab675153ef58eae138d6ca223c45f14c8 (diff)
downloadllvm-6adbc83ee9e46b476e0f75d5671c3a21f675a936.zip
llvm-6adbc83ee9e46b476e0f75d5671c3a21f675a936.tar.gz
llvm-6adbc83ee9e46b476e0f75d5671c3a21f675a936.tar.bz2
[libcxx][modularisation] moves <utility> content out of <type_traits>
Moves: * `std::move`, `std::forward`, `std::declval`, and `std::swap` into `__utility/${FUNCTION_NAME}`. * `std::swap_ranges` and `std::iter_swap` into `__algorithm/${FUNCTION_NAME}` Differential Revision: https://reviews.llvm.org/D103734
Diffstat (limited to 'libcxx/include/__algorithm/remove.h')
-rw-r--r--libcxx/include/__algorithm/remove.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/__algorithm/remove.h b/libcxx/include/__algorithm/remove.h
index f8a6f27..4717d7d 100644
--- a/libcxx/include/__algorithm/remove.h
+++ b/libcxx/include/__algorithm/remove.h
@@ -11,8 +11,8 @@
#include <__config>
#include <__algorithm/find.h>
-#include <utility>
-#include <type_traits>
+#include <__algorithm/find_if.h>
+#include <__utility/move.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header