[generated.h] Forward declaring Struct instead of Class FBox2D

Hello.
I’m having an interesting trouble using FBox2D.

When I build my c++ project with FBox2D, the generated header forward declares “struct FBox2D” instead of class, and then the compiler outputs error C4099 (meaning the forward declaration is wrong).
I have to change it myself in the generated.h to make it work, do you know what might be causing this?
Thank you.

Hi,

This was a bug which was fixed and should be available in the 4.10 release. In the meantime you can fix it in your own code by simply changing the definition of FBox2D in Engine/Source/Runtime/Core/Public/Math/Box2D.h from class to struct.

Hope this helps,

Steve