summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-18 05:04:58 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-18 05:04:58 +0000
commit7ed0137ce91e5d048090d56a5aed7f7bd9c0dfce (patch)
treea5b21c5f77aec941d441022a1f90177ac187f492
parentffefaad08e1a85635ad01e7e4e32394ebe3b042d (diff)
downloadppe42-gcc-7ed0137ce91e5d048090d56a5aed7f7bd9c0dfce.tar.gz
ppe42-gcc-7ed0137ce91e5d048090d56a5aed7f7bd9c0dfce.zip
2004-04-17 Benjamin Kosnik <bkoz@redhat.com>
* 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
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/bits/stl_bvector.h2
2 files changed, 5 insertions, 1 deletions
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 <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 4ecdf444925..afae738418d 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)
OpenPOWER on IntegriCloud