mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 05:54:28 +02:00
Merge branch 'patch-1' of https://github.com/timsong-cpp/container into timsong-cpp-patch-1
This commit is contained in:
@@ -1116,7 +1116,7 @@ class stable_vector
|
||||
const size_type extra_capacity = (bucket_extra_capacity < node_extra_capacity)
|
||||
? bucket_extra_capacity : node_extra_capacity;
|
||||
const size_type index_offset =
|
||||
(ExtraPointers + extra_capacity) & (size_type(0u) - size_type(index_size != 0));
|
||||
(ExtraPointers - extra_capacity) & (size_type(0u) - size_type(index_size != 0));
|
||||
return index_size - index_offset;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user