mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Use =default for default constructor
This commit is contained in:
committed by
Mat Sutcliffe
parent
1c23dfc0ab
commit
154a1c803f
@@ -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