Use TArrayView instead of TArray for ClearNativePointerFields

This commit is contained in:
Boondorl 2025-07-08 13:24:40 -04:00 committed by Ricardo Luís Vaz Silva
commit c284aa366d
3 changed files with 4 additions and 4 deletions

View file

@ -246,7 +246,7 @@ public:
inline int* IntArray(FName field);
// Make sure native data is wiped correctly since it has no read barriers.
void ClearNativePointerFields(const TArray<FName>& types);
void ClearNativePointerFields(const TArrayView<FName>& types);
// This is only needed for swapping out PlayerPawns and absolutely nothing else!
virtual size_t PointerSubstitution (DObject *old, DObject *notOld, bool nullOnFail);