aboutsummaryrefslogtreecommitdiff
path: root/libstdc++/std
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1997-09-10 02:51:35 +0000
committerJason Merrill <jason@yorick.cygnus.com>1997-09-10 02:51:35 +0000
commit8bd1e66daa6784cfe75dc3d4e9b9adc3e5e73d98 (patch)
tree028231670dad14a7cf153c2856ccb1ad27d44b77 /libstdc++/std
parent2b5aac9d7e06ee763336b9325f231770fe4115fd (diff)
* std/bastring.h: Adjust use of reverse_iterator template.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@15212 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++/std')
-rw-r--r--libstdc++/std/bastring.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++/std/bastring.h b/libstdc++/std/bastring.h
index 98c7d44b688..5ca371ed6a6 100644
--- a/libstdc++/std/bastring.h
+++ b/libstdc++/std/bastring.h
@@ -110,10 +110,8 @@ public:
typedef const charT* const_pointer;
typedef pointer iterator;
typedef const_pointer const_iterator;
- typedef reverse_iterator<iterator, value_type,
- reference, difference_type> reverse_iterator;
- typedef reverse_iterator<const_iterator, value_type, const_reference,
- difference_type> const_reverse_iterator;
+ typedef reverse_iterator<iterator> reverse_iterator;
+ typedef reverse_iterator<const_iterator> const_reverse_iterator;
static const size_type npos = static_cast<size_type>(-1);
private: