Closed Phantom139 closed 10 years ago
Throughout the engine, I have cycles through two formats of iterating through a DynArray instance. One of the such is something along the lines of:
T* tObj = NULL; for(U32 i = 0; i < arrayInst.size(); i++) { tObj = arrayInst[i]; }
The other is this:
for(T* tObj = arrayInst.front(); tObj != arrayInst.back(); tObj++) { }
This should be standardized one way or the other through the engine.
Applied changes in commit eefd90f.
Closed.
Throughout the engine, I have cycles through two formats of iterating through a DynArray instance. One of the such is something along the lines of:
The other is this:
This should be standardized one way or the other through the engine.