Use =default for default constructor

This commit is contained in:
Lars Toenning
2022-01-13 22:55:40 +01:00
committed by Mat Sutcliffe
parent 1c23dfc0ab
commit 154a1c803f
2 changed files with 1 additions and 4 deletions

View File

@@ -23,9 +23,6 @@ namespace BlackSound
m_deviceInfo(device)
{ }
CThreadedTonePairPlayer::~CThreadedTonePairPlayer()
{ }
void CThreadedTonePairPlayer::play(int volume, const QList<CTonePair> &tonePairs)
{
QPointer<CThreadedTonePairPlayer> myself(this);

View File

@@ -37,7 +37,7 @@ namespace BlackSound
CThreadedTonePairPlayer(QObject *owner, const QString &name, const BlackMisc::Audio::CAudioDeviceInfo &device);
//! Destructor
virtual ~CThreadedTonePairPlayer() override;
virtual ~CThreadedTonePairPlayer() override = default;
//! Play the list of tones.
//! If the player is currently active, this call will be ignored.