.gen.cpp keeps adding a '&' to a function parameter

Matt McDonald
Wed, 12 Feb 2025 20:02:07 +0000
Programming & Scripting

Shown below is the function and below that is version that is being generated in the .gen.cpp file. If I delete the ‘&’ out it compiles fine, but every time I make a change to this class it adds it back in and it’s driving me slightly mad.

Can anyone shed any light on this?

4 posts - 2 participants