public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: "Franथईois Dumont" <fdumont@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-1585] libstdc++: Remove obsolete comment in <string> header Date: Sat, 9 Jul 2022 12:25:28 +0000 (GMT) [thread overview] Message-ID: <20220709122528.4D879385700D@sourceware.org> (raw) https://gcc.gnu.org/g:8f1802003d2b0c516362ea816698317129838bcd commit r13-1585-g8f1802003d2b0c516362ea816698317129838bcd Author: François Dumont <fdumont@gcc.gnu.org> Date: Sat Jul 9 14:18:15 2022 +0200 libstdc++: Remove obsolete comment in <string> header The comment is obsolete because char_traits.h do not include stl_algobase.h anymore and stl_algobase.h is included directly from <string> a few lines below. libstdc++-v3/ChangeLog: * include/std/string: Remove obsolete comment about char_traits.h including stl_algobase.h. Diff: --- libstdc++-v3/include/std/string | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/std/string b/libstdc++-v3/include/std/string index 37a4aaba9cd..62ecdb3af45 100644 --- a/libstdc++-v3/include/std/string +++ b/libstdc++-v3/include/std/string @@ -37,7 +37,7 @@ #include <bits/c++config.h> #include <bits/stringfwd.h> -#include <bits/char_traits.h> // NB: In turn includes stl_algobase.h +#include <bits/char_traits.h> #include <bits/allocator.h> #include <bits/cpp_type_traits.h> #include <bits/localefwd.h> // For operators >>, <<, and getline.
reply other threads:[~2022-07-09 12:25 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220709122528.4D879385700D@sourceware.org \ --to=fdumont@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).