Im not looking at the tutorial at the moment, but the function signature im using is this:
UFUNCTION()
void BeginOverlap(class AActor* OtherActor, class UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult &SweepResult);