ULevel::CleanupReferences declaration exists, definition removed - Linker error if used

Hi all,

We’ve just hit a linker error integrating 5.6 and it’s caused by a change you made to ULevel between 5.5 and 5.6.

In CL 40093684 in your depot you deleted the definition for ULevel::CleanupReferences() in Level.cpp, but the declaration still exists in the header. We had some client code which was invoking this method which now fails to link.

I’ve fixed this by deleting the declaration in the header and removing our code which invoked it since it looks like this is now unnecessary. I had a quick look in this CL to see what you did to other uses of this function (e.g. LevelStreamingGCHelper.cpp) and it looks like you simply removed the call, so I’ve just matched that on our side.

Cheers!

-Steven

Hi Steven,

Thanks for reporting the information. I removed the declaration. CL#44312819

Regards,

Martin