SHA256
8
0
forked from pool/boost
Philipp Thomas
2010-04-20 16:20:54 +00:00
committed by Git OBS Bridge
parent 529c03d00f
commit c76cf89cd6
26 changed files with 1276 additions and 935 deletions

View 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;
}