Weird Error wont allow me to create new classes

s the title says I’m getting the following error:

Error C2668 ‘Swap’: Cannot resolve overloaded function call. (New; see help) TsBotProject C: \ Program Files \ Epic Games \ UE_4.21 \ Engine \ Source \ Runtime \ Core \ Public \ Templates \ SharedPointer.h 754

Usually, It happens after creating 2 empty classes

but sometimes it occurs in the first class I create and other times on the third class.

any clues of what`s going on?