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] gcc/libstdc++-v3/include/bits/stl_vector.h


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

* stl_vector.h: (_Vector_base::_Vector_base): Use explicit this->

===================================================================
RCS file: /cvsroot/gcc/gcc/libstdc++-v3/include/bits/stl_vector.h,v
retrieving revision 1.34
diff -u -r1.34 stl_vector.h
--- stl_vector.h        16 Jan 2003 20:30:25 -0000      1.34
+++ stl_vector.h        21 Aug 2003 16:13:31 -0000
@@ -153,7 +153,7 @@
       _Vector_base(size_t __n, const allocator_type& __a)
       : _Base(__a)
       {
-       this->_M_start = _M_allocate(__n);
+       this->_M_start = this->_M_allocate(__n);
        this->_M_finish = this->_M_start;
        this->_M_end_of_storage = this->_M_start + __n;
       }



-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]