Moving plugins from 4.7 to 4.9

I have a series of plugins that I have created using ue 4.7. I have just installed 4.9 (from source) and am attempting to recompile the plugins, by creating a new code project, copying the files to the Plugins folder and ‘create visual studio files’.

In the solution, all looks well. But when I try to build, This code is giving errors:

AConnection::AConnection(const class FPostConstructInitializeProperties& PCIP)
	: Super(PCIP)
{

}

Error 1 error C2059: syntax error : ‘string’
Error 2 error C2143: syntax error : missing ‘,’ before ‘&’
Error 3 error C2059: syntax error : ‘&’
Error 4 error C2511: ‘AConnection::AConnection(const FObjectInitializer (__cdecl *)(void))’ : overloaded member function not found in ‘AConnection’
Error 5 error C2065: ‘PCIP’ : undeclared identifier
Error 6 error C2550: ‘AConnection::{ctor}’ : constructor initializer lists are only allowed on constructor definitions

Please help! How can I recompile this code?

aha, it seems i need to adjust the code to:

(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer){...}