summaryrefslogtreecommitdiff
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@gcc.gnu.org>1997-09-09 22:51:35 -0400
commitf12bc7b53da3872bee618c163a8b2333f46680f1 (patch)
tree028231670dad14a7cf153c2856ccb1ad27d44b77 /libstdc++/std
parentff893307d082263698dc79b955cb72cca949dd64 (diff)
downloadgcc-f12bc7b53da3872bee618c163a8b2333f46680f1.tar.gz
* std/bastring.h: Adjust use of reverse_iterator template.
From-SVN: r15212
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: