mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:00:04 +00:00
Base classes should have destructors defined as virtual
This commit is contained in:
parent
d041e7e217
commit
1974fbbc93
3 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ public:
|
|||
explicit AwsNexradDataProvider(const std::string& radarSite,
|
||||
const std::string& bucketName,
|
||||
const std::string& region);
|
||||
~AwsNexradDataProvider();
|
||||
virtual ~AwsNexradDataProvider();
|
||||
|
||||
AwsNexradDataProvider(const AwsNexradDataProvider&) = delete;
|
||||
AwsNexradDataProvider& operator=(const AwsNexradDataProvider&) = delete;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class NexradDataProvider
|
|||
{
|
||||
public:
|
||||
explicit NexradDataProvider();
|
||||
~NexradDataProvider();
|
||||
virtual ~NexradDataProvider();
|
||||
|
||||
NexradDataProvider(const NexradDataProvider&) = delete;
|
||||
NexradDataProvider& operator=(const NexradDataProvider&) = delete;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue