diff --git a/identity/include/aws/iotidentity/IotIdentityClientV2.h b/identity/include/aws/iotidentity/IotIdentityClientV2.h index 936f5f1bf..9862bd444 100644 --- a/identity/include/aws/iotidentity/IotIdentityClientV2.h +++ b/identity/include/aws/iotidentity/IotIdentityClientV2.h @@ -37,7 +37,7 @@ namespace Aws template class ServiceErrorV2 { public: - ServiceErrorV2() = delete; + ServiceErrorV2() = default; ServiceErrorV2(const ServiceErrorV2 &rhs) = default; ServiceErrorV2(ServiceErrorV2 &&rhs) = default; diff --git a/jobs/include/aws/iotjobs/IotJobsClientV2.h b/jobs/include/aws/iotjobs/IotJobsClientV2.h index a5acfd57b..954a7906e 100644 --- a/jobs/include/aws/iotjobs/IotJobsClientV2.h +++ b/jobs/include/aws/iotjobs/IotJobsClientV2.h @@ -37,7 +37,7 @@ namespace Aws template class ServiceErrorV2 { public: - ServiceErrorV2() = delete; + ServiceErrorV2() = default; ServiceErrorV2(const ServiceErrorV2 &rhs) = default; ServiceErrorV2(ServiceErrorV2 &&rhs) = default; diff --git a/shadow/include/aws/iotshadow/IotShadowClientV2.h b/shadow/include/aws/iotshadow/IotShadowClientV2.h index 2f5a05de8..821c1adb8 100644 --- a/shadow/include/aws/iotshadow/IotShadowClientV2.h +++ b/shadow/include/aws/iotshadow/IotShadowClientV2.h @@ -37,7 +37,7 @@ namespace Aws template class ServiceErrorV2 { public: - ServiceErrorV2() = delete; + ServiceErrorV2() = default; ServiceErrorV2(const ServiceErrorV2 &rhs) = default; ServiceErrorV2(ServiceErrorV2 &&rhs) = default;