Let compiler generate destructors
These destructors call a function that does nothing that the destructors for each member already do so there's no value in calling it.
This commit is contained in:
parent
6ea07b810c
commit
97adbfa8c7
@ -66,11 +66,7 @@ InputSoundFile::InputSoundFile() = default;
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
InputSoundFile::~InputSoundFile()
|
||||
{
|
||||
// Close the file in case it was open
|
||||
close();
|
||||
}
|
||||
InputSoundFile::~InputSoundFile() = default;
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
@ -37,11 +37,7 @@ OutputSoundFile::OutputSoundFile() = default;
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
OutputSoundFile::~OutputSoundFile()
|
||||
{
|
||||
// Close the file in case it was open
|
||||
close();
|
||||
}
|
||||
OutputSoundFile::~OutputSoundFile() = default;
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user