diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-04 20:41:28 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-04 20:41:28 +0000 |
commit | 033443a4e5460d4fde528f81e0742a5cdc25e141 (patch) | |
tree | 01178532c1d2b433e41660c8b0097b6dccb86956 /libstdc++-v3/include/bits/list.tcc | |
parent | 17451fb09d6a6a084255311bffa10af1562d4002 (diff) | |
download | ppe42-gcc-033443a4e5460d4fde528f81e0742a5cdc25e141.tar.gz ppe42-gcc-033443a4e5460d4fde528f81e0742a5cdc25e141.zip |
2003-07-04 Paolo Carlini <pcarlini@unitus.it>
* include/bits/deque.tcc: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/bits/gslice_array.h: Likewise.
* include/bits/indirect_array.h: Likewise.
* include/bits/list.tcc: Likewise.
* include/bits/mask_array.h: Likewise.
* include/bits/slice_array.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68937 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/list.tcc')
-rw-r--r-- | libstdc++-v3/include/bits/list.tcc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/list.tcc b/libstdc++-v3/include/bits/list.tcc index 95a74273155..d6cccb72b41 100644 --- a/libstdc++-v3/include/bits/list.tcc +++ b/libstdc++-v3/include/bits/list.tcc @@ -74,7 +74,7 @@ namespace std { _Node* __tmp = __cur; __cur = static_cast<_Node*>(__cur->_M_next); - _Destroy(&__tmp->_M_data); + std::_Destroy(&__tmp->_M_data); _M_put_node(__tmp); } this->_M_node->_M_next = this->_M_node; @@ -104,7 +104,7 @@ namespace std _Node* __n = static_cast<_Node*>(__position._M_node); __prev_node->_M_next = __next_node; __next_node->_M_prev = __prev_node; - _Destroy(&__n->_M_data); + std::_Destroy(&__n->_M_data); _M_put_node(__n); return iterator(static_cast<_Node*>(__next_node)); } |