Un-support force_trivial parameter for LocalVector. Instead, users are reformatted to use resize_uninitialized to make it explicit that the resize does not initialize missing elements.

This commit is contained in:
Lukas Tenbrink 2025-05-27 18:43:36 +02:00
parent 99f5a3d665
commit 37415530d7
5 changed files with 20 additions and 17 deletions

View file

@ -769,7 +769,7 @@ private:
// for collision pairing,
// maintain a list of all items moved etc on each frame / tick
LocalVector<BVHHandle, uint32_t, true> changed_items;
LocalVector<BVHHandle> changed_items;
uint32_t _tick = 1; // Start from 1 so items with 0 indicate never updated.
class BVHLockedFunction {