mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 13: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)
|
m_deviceInfo(device)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
CThreadedTonePairPlayer::~CThreadedTonePairPlayer()
|
|
||||||
{ }
|
|
||||||
|
|
||||||
void CThreadedTonePairPlayer::play(int volume, const QList<CTonePair> &tonePairs)
|
void CThreadedTonePairPlayer::play(int volume, const QList<CTonePair> &tonePairs)
|
||||||
{
|
{
|
||||||
QPointer<CThreadedTonePairPlayer> myself(this);
|
QPointer<CThreadedTonePairPlayer> myself(this);
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ namespace BlackSound
|
|||||||
CThreadedTonePairPlayer(QObject *owner, const QString &name, const BlackMisc::Audio::CAudioDeviceInfo &device);
|
CThreadedTonePairPlayer(QObject *owner, const QString &name, const BlackMisc::Audio::CAudioDeviceInfo &device);
|
||||||
|
|
||||||
//! Destructor
|
//! Destructor
|
||||||
virtual ~CThreadedTonePairPlayer() override;
|
virtual ~CThreadedTonePairPlayer() override = default;
|
||||||
|
|
||||||
//! Play the list of tones.
|
//! Play the list of tones.
|
||||||
//! If the player is currently active, this call will be ignored.
|
//! If the player is currently active, this call will be ignored.
|
||||||
|
|||||||
Reference in New Issue
Block a user