diff options
| author | fdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-29 20:11:50 +0000 |
|---|---|---|
| committer | fdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-29 20:11:50 +0000 |
| commit | ad86ca1a49621e10f4ca3a0127a574d8b4d9feac (patch) | |
| tree | f5936d88794627a9de34beca288056058a9a9241 /libstdc++-v3/include/debug/list | |
| parent | 2aba8c96ff2c4ef49ec3ecc573b9e93b98b15e6e (diff) | |
| download | ppe42-gcc-ad86ca1a49621e10f4ca3a0127a574d8b4d9feac.tar.gz ppe42-gcc-ad86ca1a49621e10f4ca3a0127a574d8b4d9feac.zip | |
2011-06-29 François Dumont <francois.cppdevs@free.fr>
* include/debug/set.h, unordered_map, multiset.h, forward_list,
unordered_set, vector, deque, string, list, multimap.h: Remove base
class default constructor calls.
* include/debug/map.h: Likewise and cleanup several redefinition of
base iterator typedef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175665 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/debug/list')
| -rw-r--r-- | libstdc++-v3/include/debug/list | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libstdc++-v3/include/debug/list b/libstdc++-v3/include/debug/list index 44a208bfe52..3931a3d3b68 100644 --- a/libstdc++-v3/include/debug/list +++ b/libstdc++-v3/include/debug/list @@ -45,7 +45,6 @@ namespace __debug public __gnu_debug::_Safe_sequence<list<_Tp, _Allocator> > { typedef _GLIBCXX_STD_C::list<_Tp, _Allocator> _Base; - typedef __gnu_debug::_Safe_sequence<list> _Safe_base; typedef typename _Base::iterator _Base_iterator; typedef typename _Base::const_iterator _Base_const_iterator; @@ -100,19 +99,19 @@ namespace __debug list(const list& __x) - : _Base(__x), _Safe_base() { } + : _Base(__x) { } list(const _Base& __x) - : _Base(__x), _Safe_base() { } + : _Base(__x) { } #ifdef __GXX_EXPERIMENTAL_CXX0X__ list(list&& __x) noexcept - : _Base(std::move(__x)), _Safe_base() + : _Base(std::move(__x)) { this->_M_swap(__x); } list(initializer_list<value_type> __l, const allocator_type& __a = allocator_type()) - : _Base(__l, __a), _Safe_base() { } + : _Base(__l, __a) { } #endif ~list() _GLIBCXX_NOEXCEPT { } @@ -395,7 +394,7 @@ namespace __debug insert(iterator __p, initializer_list<value_type> __l) { __glibcxx_check_insert(__p); - _Base::insert(__p, __l); + _Base::insert(__p.base(), __l); } #endif |

