From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 66D0238344DA; Thu, 26 May 2022 12:35:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 66D0238344DA MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-777] libstdc++: Remove some unnecessary includes X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: a44380541fee1c7ab14cc90a9af8d1aef3c72866 X-Git-Newrev: 650eadd63022baf6993124d7e9b64141b908459a Message-Id: <20220526123539.66D0238344DA@sourceware.org> Date: Thu, 26 May 2022 12:35:39 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2022 12:35:39 -0000 https://gcc.gnu.org/g:650eadd63022baf6993124d7e9b64141b908459a commit r13-777-g650eadd63022baf6993124d7e9b64141b908459a Author: Jonathan Wakely Date: Tue May 24 12:15:00 2022 +0100 libstdc++: Remove some unnecessary includes These headers do not use anything in directly, and it's included by and anyway, because they do need it. libstdc++-v3/ChangeLog: * include/bits/ranges_algobase.h: Do not include . * include/std/string: Likewise. * include/std/variant: Likewise. Diff: --- libstdc++-v3/include/bits/ranges_algobase.h | 1 - libstdc++-v3/include/std/string | 1 - libstdc++-v3/include/std/variant | 1 - 3 files changed, 3 deletions(-) diff --git a/libstdc++-v3/include/bits/ranges_algobase.h b/libstdc++-v3/include/bits/ranges_algobase.h index 1bbc44fc668..f6f0b9c83b0 100644 --- a/libstdc++-v3/include/bits/ranges_algobase.h +++ b/libstdc++-v3/include/bits/ranges_algobase.h @@ -33,7 +33,6 @@ #if __cplusplus > 201703L #include -#include #include #include #include // ranges::begin, ranges::range etc. diff --git a/libstdc++-v3/include/std/string b/libstdc++-v3/include/std/string index 24051663f74..4a0633067bd 100644 --- a/libstdc++-v3/include/std/string +++ b/libstdc++-v3/include/std/string @@ -42,7 +42,6 @@ #include #include // For operators >>, <<, and getline. #include -#include #include #include #include // For less diff --git a/libstdc++-v3/include/std/variant b/libstdc++-v3/include/std/variant index beed396fccb..c5f25ef6b47 100644 --- a/libstdc++-v3/include/std/variant +++ b/libstdc++-v3/include/std/variant @@ -40,7 +40,6 @@ #include #include #include -#include #include #include #include // in_place_index_t