mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-16 07:50:18 +08:00
stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
2000-09-25 Levente Farkas <lfarkas@mindmaker.hu> * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy. From-SVN: r36624
This commit is contained in:
parent
0e00b68b77
commit
be54495730
@ -1,8 +1,12 @@
|
||||
2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
|
||||
|
||||
* ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
|
||||
|
||||
2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
|
||||
|
||||
* src/localename.cc (locale::_Imp) : Remove typedefs.
|
||||
* bits/localefwd.h (locale::locale(const locale& __other, _Facet*
|
||||
__f): Consistency check,, call _Imp ctor with refererence argument
|
||||
__f): Consistency check, call _Imp ctor with reference argument
|
||||
of 1.
|
||||
* bits/localefwd.h: Change _S_num_categories to
|
||||
_S_categories_num. Add new data member, _S_facets_num, which is
|
||||
|
@ -1029,14 +1029,14 @@ void hashtable<_Val,_Key,_HF,_Ex,_Eq,_All>
|
||||
for (size_type __i = 0; __i < __ht._M_buckets.size(); ++__i) {
|
||||
const _Node* __cur = __ht._M_buckets[__i];
|
||||
if (__cur) {
|
||||
_Node* __copy = _M_new_node(__cur->_M_val);
|
||||
_M_buckets[__i] = __copy;
|
||||
_Node* __local_copy = _M_new_node(__cur->_M_val);
|
||||
_M_buckets[__i] = __local_copy;
|
||||
|
||||
for (_Node* __next = __cur->_M_next;
|
||||
__next;
|
||||
__cur = __next, __next = __cur->_M_next) {
|
||||
__copy->_M_next = _M_new_node(__next->_M_val);
|
||||
__copy = __copy->_M_next;
|
||||
__local_copy->_M_next = _M_new_node(__next->_M_val);
|
||||
__local_copy = __local_copy->_M_next;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user