mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Use =default for default constructor
This commit is contained in:
committed by
Mat Sutcliffe
parent
8f11e42b15
commit
f271d746ba
@@ -23,9 +23,6 @@ namespace BlackSound
|
||||
m_deviceInfo(device)
|
||||
{ }
|
||||
|
||||
CThreadedTonePairPlayer::~CThreadedTonePairPlayer()
|
||||
{ }
|
||||
|
||||
void CThreadedTonePairPlayer::play(int volume, const QList<CTonePair> &tonePairs)
|
||||
{
|
||||
QPointer<CThreadedTonePairPlayer> myself(this);
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user