mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
Avoid false -Warray-bounds positive under mingw32 gcc-12
This commit is contained in:
@ -1798,6 +1798,7 @@ private:
|
|||||||
auto pg=arrays.groups+pos;
|
auto pg=arrays.groups+pos;
|
||||||
auto mask=pg->match(hash);
|
auto mask=pg->match(hash);
|
||||||
if(mask){
|
if(mask){
|
||||||
|
BOOST_UNORDERED_ASSUME(arrays.elements != nullptr);
|
||||||
auto p=arrays.elements+pos*N;
|
auto p=arrays.elements+pos*N;
|
||||||
prefetch_elements(p);
|
prefetch_elements(p);
|
||||||
do{
|
do{
|
||||||
|
Reference in New Issue
Block a user