Do not declare destructor as default when destructor is explicitly declared. (#732)

This commit is contained in:
Rytis Karpuška 2018-08-12 14:44:07 +03:00 committed by sunn
parent ddb0920fed
commit 0cd6d8c139
4 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ public:
~{{classname}}() override;
{{/gmockApis}}
{{^gmockApis}}
virtual ~{{classname}}() = default;
virtual ~{{classname}}();
{{/gmockApis}}
{{#operation}}

View File

@ -43,7 +43,7 @@ public:
explicit PetApi( std::shared_ptr<ApiClient> apiClient );
virtual ~PetApi() = default;
virtual ~PetApi();
/// <summary>
/// Add a new pet to the store

View File

@ -42,7 +42,7 @@ public:
explicit StoreApi( std::shared_ptr<ApiClient> apiClient );
virtual ~StoreApi() = default;
virtual ~StoreApi();
/// <summary>
/// Delete purchase order by ID

View File

@ -42,7 +42,7 @@ public:
explicit UserApi( std::shared_ptr<ApiClient> apiClient );
virtual ~UserApi() = default;
virtual ~UserApi();
/// <summary>
/// Create user