OSDN Git Service

2004-04-17 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Apr 2004 05:04:58 +0000 (05:04 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Apr 2004 05:04:58 +0000 (05:04 +0000)
* include/bits/stl_bvector.h: Use _M_impl._M_start.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80811 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_bvector.h

index 386efbc..cbae312 100644 (file)
@@ -1,3 +1,7 @@
+2004-04-17  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/bits/stl_bvector.h: Use _M_impl._M_start.
+       
 2004-04-16  Benjamin Kosnik  <bkoz@redhat.com>
        
        * include/bits/c++config (_GLIBCXX_STD): New.
 2004-04-16  Benjamin Kosnik  <bkoz@redhat.com>
        
        * include/bits/c++config (_GLIBCXX_STD): New.
index 4ecdf44..afae738 100644 (file)
@@ -445,7 +445,7 @@ template<typename _Alloc>
       this->_M_impl._M_end_of_storage = __q 
                                       + (__n + _S_word_bit - 1) / _S_word_bit;
       this->_M_impl._M_start = iterator(__q, 0);
       this->_M_impl._M_end_of_storage = __q 
                                       + (__n + _S_word_bit - 1) / _S_word_bit;
       this->_M_impl._M_start = iterator(__q, 0);
-      this->_M_impl._M_finish = this->_M_start + difference_type(__n);
+      this->_M_impl._M_finish = this->_M_impl._M_start + difference_type(__n);
     }
 
     void _M_insert_aux(iterator __position, bool __x)
     }
 
     void _M_insert_aux(iterator __position, bool __x)