forked from pool/boost
This commit is contained in:
committed by
Git OBS Bridge
parent
529c03d00f
commit
c76cf89cd6
15
boost-fix_hash_resizing.patch
Normal file
15
boost-fix_hash_resizing.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- boost/asio/detail/hash_map.hpp
|
||||
+++ boost/asio/detail/hash_map.hpp
|
||||
@@ -232,7 +232,11 @@
|
||||
buckets_[bucket].first = buckets_[bucket].last = iter++;
|
||||
}
|
||||
+ else if (++buckets_[bucket].last == iter)
|
||||
+ {
|
||||
+ ++iter;
|
||||
+ }
|
||||
else
|
||||
{
|
||||
- values_.splice(++buckets_[bucket].last, values_, iter++);
|
||||
+ values_.splice(buckets_[bucket].last, values_, iter++);
|
||||
--buckets_[bucket].last;
|
||||
}
|
||||
Reference in New Issue
Block a user