GENERATED_BODY macro causes error "this declaration has no storage class or type specifier"

This worked for me. Visual Studio 2022 and Unreal Engine 5.5.