Problem with typecasting using 'Cast'

The compiler is giving you the wrong error because it thinks you’re trying to take the address of the Cast<> function itself, rather than call it. You forgot the parentheses around the Cast<ATeamPlayer>(Player).

Edit: You figured it out while I was typing the post, good job.