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:
Chris Thrasher 2022-12-22 22:49:28 -06:00
parent 6ea07b810c
commit 97adbfa8c7
2 changed files with 2 additions and 10 deletions

View File

@ -66,11 +66,7 @@ InputSoundFile::InputSoundFile() = default;
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
InputSoundFile::~InputSoundFile() InputSoundFile::~InputSoundFile() = default;
{
// Close the file in case it was open
close();
}
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////

View File

@ -37,11 +37,7 @@ OutputSoundFile::OutputSoundFile() = default;
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
OutputSoundFile::~OutputSoundFile() OutputSoundFile::~OutputSoundFile() = default;
{
// Close the file in case it was open
close();
}
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////