[libcxx-commits] [PATCH] D119491: [libc++] Remove unused include from ranges_swap_ranges.h
Joe Loser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 10 15:15:38 PST 2022
jloser created this revision.
jloser added reviewers: ldionne, Quuxplusone, var-const, philnik.
jloser requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
`ranges_swap_ranges.h` includes `<type_traits>` but does not seem to require
anything from it. Remove the include.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119491
Files:
libcxx/include/__algorithm/ranges_swap_ranges.h
Index: libcxx/include/__algorithm/ranges_swap_ranges.h
===================================================================
--- libcxx/include/__algorithm/ranges_swap_ranges.h
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119491.407696.patch
Type: text/x-patch
Size: 444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220210/bbb98c9d/attachment.bin>
More information about the libcxx-commits
mailing list