From f178c2d6959fb186ca9ee2aa26d01bd3f9157986 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Sun, 18 Apr 2004 05:04:58 +0000 Subject: [PATCH] stl_bvector.h: Use _M_impl._M_start. 2004-04-17 Benjamin Kosnik * include/bits/stl_bvector.h: Use _M_impl._M_start. From-SVN: r80811 --- 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.30.2