C++ cannot create constructor AActor

Wasn’t that the way to declare the constructor prior to 4.6 ?