summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/debug/deque
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-07 02:23:44 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-07 02:23:44 +0000
commit5904053704ab5b785d072c5814e5e2a478fda4b8 (patch)
tree65fe426b2056bab92700d26f824c7ae34bef7f84 /libstdc++-v3/include/debug/deque
parent604588653d99a96bf2784b55ba8273581e944e27 (diff)
downloadppe42-gcc-5904053704ab5b785d072c5814e5e2a478fda4b8.tar.gz
ppe42-gcc-5904053704ab5b785d072c5814e5e2a478fda4b8.zip
2005-06-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/21770 (cont: debug-mode) * include/debug/deque: Use _Base typedefs for pointer, const_pointer, reference, const_reference. * include/debug/list: Likewise. * include/debug/map.h: Likewise. * include/debug/multimap.h: Likewise. * include/debug/multiset.h: Likewise. * include/debug/set.h: Likewise. * include/debug/vector: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100692 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/debug/deque')
-rw-r--r--libstdc++-v3/include/debug/deque10
1 files changed, 5 insertions, 5 deletions
diff --git a/libstdc++-v3/include/debug/deque b/libstdc++-v3/include/debug/deque
index c39a49c0461..5d87cdaeb34 100644
--- a/libstdc++-v3/include/debug/deque
+++ b/libstdc++-v3/include/debug/deque
@@ -1,6 +1,6 @@
// Debugging deque implementation -*- C++ -*-
-// Copyright (C) 2003, 2004
+// Copyright (C) 2003, 2004, 2005
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -46,8 +46,8 @@ namespace __gnu_debug_def
typedef __gnu_debug::_Safe_sequence<deque> _Safe_base;
public:
- typedef typename _Allocator::reference reference;
- typedef typename _Allocator::const_reference const_reference;
+ typedef typename _Base::reference reference;
+ typedef typename _Base::const_reference const_reference;
typedef __gnu_debug::_Safe_iterator<typename _Base::iterator,deque>
iterator;
@@ -59,8 +59,8 @@ namespace __gnu_debug_def
typedef _Tp value_type;
typedef _Allocator allocator_type;
- typedef typename _Allocator::pointer pointer;
- typedef typename _Allocator::const_pointer const_pointer;
+ typedef typename _Base::pointer pointer;
+ typedef typename _Base::const_pointer const_pointer;
typedef std::reverse_iterator<iterator> reverse_iterator;
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
OpenPOWER on IntegriCloud