fix issue 10186 - default construction is disabled even if default ctor
declared