Missing 'public' in Class declaration

That is the header file. and I already declared the class like this.

`UCLASS()
class GRAVITY3D_API UGravityMovementComponent : public UPawnMovementComponent, public IRVOAvoidanceInterface,
{
GENERATED_BODY()
public:

};`

I’m trying to replicate the CharacterMovementComponent but with custom gravity.