summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-12 18:18:34 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-12 18:18:34 +0000
commit8cc1f0a917546cc88b7c2efb1617a2e8ff81e2cf (patch)
treec94a70b660f8502b56a12a414594e3c060afebe6
parent0b8c21516c99f06c1dfb29590004521cd72da72b (diff)
downloadgcc-8cc1f0a917546cc88b7c2efb1617a2e8ff81e2cf.tar.gz
2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/ext/stl_hashtable.h: Change type of __n to size_t * include/backward/bvector.h: Include <ext/stl_bvector.h> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40416 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/backward/bvector.h2
-rw-r--r--libstdc++-v3/include/ext/stl_hashtable.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 62af63c0ff5..c140e19d44e 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
+
+ * include/ext/stl_hashtable.h: Change type of __n to size_t
+ * include/backward/bvector.h: Include <ext/stl_bvector.h>
+
2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
diff --git a/libstdc++-v3/include/backward/bvector.h b/libstdc++-v3/include/backward/bvector.h
index 60a9ed6378f..0c08cd6a5ec 100644
--- a/libstdc++-v3/include/backward/bvector.h
+++ b/libstdc++-v3/include/backward/bvector.h
@@ -29,7 +29,7 @@
#include "vector.h"
-#include <bits/stl_bvector.h>
+#include <ext/stl_bvector.h>
using std::bit_vector;
diff --git a/libstdc++-v3/include/ext/stl_hashtable.h b/libstdc++-v3/include/ext/stl_hashtable.h
index ff903807fb4..1276b9591d9 100644
--- a/libstdc++-v3/include/ext/stl_hashtable.h
+++ b/libstdc++-v3/include/ext/stl_hashtable.h
@@ -564,7 +564,7 @@ bool operator==(const hashtable<_Val,_Key,_HF,_Ex,_Eq,_All>& __ht1,
typedef typename hashtable<_Val,_Key,_HF,_Ex,_Eq,_All>::_Node _Node;
if (__ht1._M_buckets.size() != __ht2._M_buckets.size())
return false;
- for (int __n = 0; __n < __ht1._M_buckets.size(); ++__n) {
+ for (size_t __n = 0; __n < __ht1._M_buckets.size(); ++__n) {
_Node* __cur1 = __ht1._M_buckets[__n];
_Node* __cur2 = __ht2._M_buckets[__n];
for ( ; __cur1 && __cur2 && __cur1->_M_val == __cur2->_M_val;