[libcxx-commits] [libcxx] 36fba52 - [libc++] Remove unused include from ranges_swap_ranges.h
Joe Loser via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 11 09:29:32 PST 2022
Author: Joe Loser
Date: 2022-02-11T12:28:24-05:00
New Revision: 36fba521d98704f9b072d9592cd679ca98d27139
URL: https://github.com/llvm/llvm-project/commit/36fba521d98704f9b072d9592cd679ca98d27139
DIFF: https://github.com/llvm/llvm-project/commit/36fba521d98704f9b072d9592cd679ca98d27139.diff
LOG: [libc++] Remove unused include from ranges_swap_ranges.h
`ranges_swap_ranges.h` includes `<type_traits>` but does not use anything from
it. So, remove the include.
Differential Revision: https://reviews.llvm.org/D119491
Added:
Modified:
libcxx/include/__algorithm/ranges_swap_ranges.h
Removed:
################################################################################
diff --git a/libcxx/include/__algorithm/ranges_swap_ranges.h b/libcxx/include/__algorithm/ranges_swap_ranges.h
index cced873836db..59a875ae3bb2 100644
--- a/libcxx/include/__algorithm/ranges_swap_ranges.h
+++ b/libcxx/include/__algorithm/ranges_swap_ranges.h
@@ -17,7 +17,6 @@
#include <__ranges/concepts.h>
#include <__ranges/dangling.h>
#include <__utility/move.h>
-#include <type_traits>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
More information about the libcxx-commits
mailing list