GetActorForwardVector() missing

You are missing the scope resolution for the method:

AMyActor::Forward(float dir) {}