diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2004-04-18 05:04:58 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2004-04-18 05:04:58 +0000 |
commit | f178c2d6959fb186ca9ee2aa26d01bd3f9157986 (patch) | |
tree | a5b21c5f77aec941d441022a1f90177ac187f492 | |
parent | f206bf50666ee99ad5d46a0627f7c6144a52d0eb (diff) | |
download | gcc-f178c2d6959fb186ca9ee2aa26d01bd3f9157986.zip gcc-f178c2d6959fb186ca9ee2aa26d01bd3f9157986.tar.gz gcc-f178c2d6959fb186ca9ee2aa26d01bd3f9157986.tar.bz2 |
stl_bvector.h: Use _M_impl._M_start.
2004-04-17 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_bvector.h: Use _M_impl._M_start.
From-SVN: r80811
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/stl_bvector.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 386efbc..cbae312 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. diff --git a/libstdc++-v3/include/bits/stl_bvector.h b/libstdc++-v3/include/bits/stl_bvector.h index 4ecdf44..afae738 100644 --- a/libstdc++-v3/include/bits/stl_bvector.h +++ b/libstdc++-v3/include/bits/stl_bvector.h @@ -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_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) |