Compiler Error When Upgraded to 4.6

I recently upgraded to version 4.6 from 4.5 now when I try to build my code I get an error thrown on this line (which happens to appear 10ish time) in my MyGame.generated.cpp

static FCompiledInDeferStruct Z_CompiledInDeferStruct_UScriptStruct_FInstantHitInfo(FInstantHitInfo::StaticStruct);

Has anyone experienced the same issue and know hoe to resolve it? The error I gives me is:

Error 22 error C2664: ‘FCompiledInDeferStruct::FCompiledInDeferStruct(const FCompiledInDeferStruct &)’ : cannot convert argument 1 from ‘UScriptStruct *(__cdecl *)(void)’ to ‘const FCompiledInDeferStruct &’

So I tried again this morning and it worked no problem. I did notice that the "MyGame.generated.cpp’ is actually gone, so maybe thats the reason? Strange thing but everything is working fine now.