Is this throwing up a warning during build of project, or are you just seeing squiggle in code? If you are using Intellisense, it is not uncommon for it to show false-positive warnings with Unreal Engine 4 code. These warnings can generally be ignored since they will not prevent you from being able to build project.