projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6610daa
)
libstdc++: Remove _Alloc_node instance in _Rb_tree [PR107189]
author
François Dumont
<fdumont@gcc.gnu.org>
Wed, 12 Oct 2022 17:34:01 +0000
(19:34 +0200)
committer
François Dumont
<fdumont@gcc.gnu.org>
Thu, 12 Jan 2023 18:39:29 +0000
(19:39 +0100)
libstdc++-v3/ChangeLog:
PR libstdc++/107189
* include/bits/stl_tree.h (_Rb_tree<>::_M_insert_range_equal): Remove
unused _Alloc_node instance.
libstdc++-v3/include/bits/stl_tree.h
patch
|
blob
|
history
diff --git
a/libstdc++-v3/include/bits/stl_tree.h
b/libstdc++-v3/include/bits/stl_tree.h
index
a4de614
..
33d2508
100644
(file)
--- 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);
}