public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Francois Dumont <fdumont@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r13-5125] libstdc++: Remove _Alloc_node instance in _Rb_tree [PR107189] Date: Thu, 12 Jan 2023 18:39:45 +0000 (GMT) [thread overview] Message-ID: <20230112183945.9203B3858C66@sourceware.org> (raw) https://gcc.gnu.org/g:b3c9148cad2f6f05ef9bc0be34b65a62a7e236dd commit r13-5125-gb3c9148cad2f6f05ef9bc0be34b65a62a7e236dd Author: François Dumont <fdumont@gcc.gnu.org> Date: Wed Oct 12 19:34:01 2022 +0200 libstdc++: Remove _Alloc_node instance in _Rb_tree [PR107189] libstdc++-v3/ChangeLog: PR libstdc++/107189 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert_range_equal): Remove unused _Alloc_node instance. Diff: --- libstdc++-v3/include/bits/stl_tree.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libstdc++-v3/include/bits/stl_tree.h b/libstdc++-v3/include/bits/stl_tree.h index a4de6141765..33d25089a1d 100644 --- a/libstdc++-v3/include/bits/stl_tree.h +++ b/libstdc++-v3/include/bits/stl_tree.h @@ -1123,7 +1123,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION __enable_if_t<!__same_value_type<_InputIterator>::value> _M_insert_range_equal(_InputIterator __first, _InputIterator __last) { - _Alloc_node __an(*this); for (; __first != __last; ++__first) _M_emplace_equal(*__first); }
reply other threads:[~2023-01-12 18:39 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=20230112183945.9203B3858C66@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).