mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 02:55:19 +00:00
Do not declare destructor as default when destructor is explicitly declared. (#732)
This commit is contained in:
parent
ddb0920fed
commit
0cd6d8c139
@ -51,7 +51,7 @@ public:
|
||||
~{{classname}}() override;
|
||||
{{/gmockApis}}
|
||||
{{^gmockApis}}
|
||||
virtual ~{{classname}}() = default;
|
||||
virtual ~{{classname}}();
|
||||
{{/gmockApis}}
|
||||
|
||||
{{#operation}}
|
||||
|
@ -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
|
||||
|
@ -42,7 +42,7 @@ public:
|
||||
|
||||
explicit StoreApi( std::shared_ptr<ApiClient> apiClient );
|
||||
|
||||
virtual ~StoreApi() = default;
|
||||
virtual ~StoreApi();
|
||||
|
||||
/// <summary>
|
||||
/// Delete purchase order by ID
|
||||
|
@ -42,7 +42,7 @@ public:
|
||||
|
||||
explicit UserApi( std::shared_ptr<ApiClient> apiClient );
|
||||
|
||||
virtual ~UserApi() = default;
|
||||
virtual ~UserApi();
|
||||
|
||||
/// <summary>
|
||||
/// Create user
|
||||
|
Loading…
Reference in New Issue
Block a user