static analysis: ensure is always false

This commit is contained in:
Megamouse 2025-03-04 19:45:22 +01:00
parent f4c4163d98
commit 9b4fdd5288

View file

@ -246,7 +246,7 @@ namespace rsx
return pos;
}
ensure(_loc < _size);
AUDIT(_loc < _size);
const auto remaining = (_size - _loc);
memmove(pos + 1, pos, remaining * sizeof(Ty));
@ -274,7 +274,7 @@ namespace rsx
return pos;
}
ensure(_loc < _size);
AUDIT(_loc < _size);
const u32 remaining = (_size - _loc);
memmove(pos + 1, pos, remaining * sizeof(Ty));