Error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

I have been recieving the following error for some time and haven’t been able to figure out a solution. Any help is appreciated.
C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Classes\Components/PrimitiveComponent.h(2386) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
I haven’t modified the file in any way either.