forked from pool/boost
Accepting request 17446 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/boost based on submit request 17446 from user psmt OBS-URL: https://build.opensuse.org/request/show/17446 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boost?expand=0&rev=33
This commit is contained in:
committed by
Git OBS Bridge
parent
2ee4a0afc3
commit
b39ff1c8b8
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