diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-10 02:51:35 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-10 02:51:35 +0000 |
commit | c31f3a9fabc1b431e7c5c3dc5e56ad0b8c636084 (patch) | |
tree | 028231670dad14a7cf153c2856ccb1ad27d44b77 /libstdc++ | |
parent | b805b669b84329871f09646ce445eb252f10453f (diff) | |
download | gcc-c31f3a9fabc1b431e7c5c3dc5e56ad0b8c636084.tar.gz |
* std/bastring.h: Adjust use of reverse_iterator template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15212 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++')
-rw-r--r-- | libstdc++/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++/std/bastring.h | 6 |
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: |