Compile problem with RootMotionSource.h

Whenever I try to compile c++ classes in engine I get a wierd error(Maybe is engine related)
but it has to do with a header file

The error seems to point out to RootMotionSurce.h

Here is the pic of the header file

I’m quite new to C++

Any help is apreciated