summaryrefslogtreecommitdiff
path: root/libstdc++
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++
parentff893307d082263698dc79b955cb72cca949dd64 (diff)
downloadgcc-f12bc7b53da3872bee618c163a8b2333f46680f1.tar.gz
* std/bastring.h: Adjust use of reverse_iterator template.
From-SVN: r15212
Diffstat (limited to 'libstdc++')
-rw-r--r--libstdc++/ChangeLog4
-rw-r--r--libstdc++/std/bastring.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog
index 42802f8e3f6..39890052f5f 100644
--- a/libstdc++/ChangeLog
+++ b/libstdc++/ChangeLog
@@ -1,3 +1,7 @@
+Tue Sep 9 19:47:07 1997 Jason Merrill <jason@yorick.cygnus.com>
+
+ * std/bastring.h: Adjust use of reverse_iterator template.
+
Wed Aug 27 00:04:33 1997 Alexandre Oliva (oliva@dcc.unicamp.br)
* Makefile.in: create correct multiple links to
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: