This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Add more this-> qualifiers


2003-08-22 Chris Lattner <sabre@nondot.org>

* locale_facets.h: Add more explicit this->'s

===================================================================
RCS file: /cvsroot/gcc/gcc/libstdc++-v3/include/bits/locale_facets.h,v
retrieving revision 1.56
diff -u -r1.56 locale_facets.h
--- locale_facets.h     18 Feb 2003 05:45:06 -0000      1.56
+++ locale_facets.h     22 Aug 2003 15:12:40 -0000
@@ -688,14 +688,14 @@
       numpunct_byname(const char* __s, size_t __refs = 0)
       : numpunct<_CharT>(__refs)
       {
-       _S_create_c_locale(_M_c_locale_numpunct, __s);
-       _M_initialize_numpunct(_M_c_locale_numpunct);
+       this->_S_create_c_locale(_M_c_locale_numpunct, __s);
+       this->_M_initialize_numpunct(_M_c_locale_numpunct);
       }

     protected:
       virtual
       ~numpunct_byname()
-      { _S_destroy_c_locale(_M_c_locale_numpunct); }
+      { this->_S_destroy_c_locale(_M_c_locale_numpunct); }
     };

   template<typename _CharT, typename _InIter>
@@ -1632,14 +1632,14 @@
       moneypunct_byname(const char* __s, size_t __refs = 0)
       : moneypunct<_CharT, _Intl>(__refs)
       {
-       _S_create_c_locale(_M_c_locale_moneypunct, __s);
-       _M_initialize_moneypunct(_M_c_locale_moneypunct);
+       this->_S_create_c_locale(_M_c_locale_moneypunct, __s);
+       this->_M_initialize_moneypunct(_M_c_locale_moneypunct);
       }

     protected:
       virtual
       ~moneypunct_byname()
-      { _S_destroy_c_locale(_M_c_locale_moneypunct); }
+      { this->_S_destroy_c_locale(_M_c_locale_moneypunct); }
     };

   template<typename _CharT, bool _Intl>


-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]