From 7ed0137ce91e5d048090d56a5aed7f7bd9c0dfce Mon Sep 17 00:00:00 2001 From: bkoz Date: Sun, 18 Apr 2004 05:04:58 +0000 Subject: [PATCH] 2004-04-17 Benjamin Kosnik * 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 | 4 ++++ libstdc++-v3/include/bits/stl_bvector.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 386efbc3e83..cbae3127aa5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2004-04-17 Benjamin Kosnik + + * include/bits/stl_bvector.h: Use _M_impl._M_start. + 2004-04-16 Benjamin Kosnik * 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 4ecdf444925..afae738418d 100644 --- a/libstdc++-v3/include/bits/stl_bvector.h +++ b/libstdc++-v3/include/bits/stl_bvector.h @@ -445,7 +445,7 @@ template 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) -- 2.11.0