From 2a32969dd44ff7af5b911a9db5edde3066d1c53a Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 12 Sep 1997 01:56:59 +0000 Subject: [PATCH] bastring.h (class basic_string): Add global scope to use of reverse_iterator. * std/bastring.h (class basic_string): Add global scope to use of reverse_iterator. From-SVN: r15423 --- libstdc++/ChangeLog | 5 +++++ libstdc++/std/bastring.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog index 39890052f5f..8cdbc08d940 100644 --- a/libstdc++/ChangeLog +++ b/libstdc++/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 11 15:03:20 1997 Jason Merrill + + * std/bastring.h (class basic_string): Add global scope to + use of reverse_iterator. + Tue Sep 9 19:47:07 1997 Jason Merrill * std/bastring.h: Adjust use of reverse_iterator template. diff --git a/libstdc++/std/bastring.h b/libstdc++/std/bastring.h index 5ca371ed6a6..9070a2e857d 100644 --- a/libstdc++/std/bastring.h +++ b/libstdc++/std/bastring.h @@ -110,8 +110,8 @@ public: typedef const charT* const_pointer; typedef pointer iterator; typedef const_pointer const_iterator; - typedef reverse_iterator reverse_iterator; - typedef reverse_iterator const_reverse_iterator; + typedef ::reverse_iterator reverse_iterator; + typedef ::reverse_iterator const_reverse_iterator; static const size_type npos = static_cast(-1); private: