Use override
This commit is contained in:
@@ -43,7 +43,7 @@ class AcoustidClient : public QObject {
|
||||
|
||||
public:
|
||||
explicit AcoustidClient(QObject *parent = nullptr);
|
||||
~AcoustidClient();
|
||||
~AcoustidClient() override;
|
||||
|
||||
// Network requests will be aborted after this interval.
|
||||
void SetTimeout(const int msec);
|
||||
|
||||
@@ -55,8 +55,6 @@ Chromaprinter::Chromaprinter(const QString &filename)
|
||||
: filename_(filename),
|
||||
convert_element_(nullptr) {}
|
||||
|
||||
Chromaprinter::~Chromaprinter() {}
|
||||
|
||||
GstElement *Chromaprinter::CreateElement(const QString &factory_name, GstElement *bin) {
|
||||
|
||||
GstElement *ret = gst_element_factory_make( factory_name.toLatin1().constData(), factory_name.toLatin1().constData());
|
||||
|
||||
@@ -39,7 +39,6 @@ class Chromaprinter {
|
||||
|
||||
public:
|
||||
explicit Chromaprinter(const QString &filename);
|
||||
~Chromaprinter();
|
||||
|
||||
// Creates a fingerprint from the song.
|
||||
// This method is blocking, so you want to call it in another thread.
|
||||
|
||||
@@ -51,7 +51,7 @@ class MusicBrainzClient : public QObject {
|
||||
// The second argument allows for specifying a custom network access manager.
|
||||
// It is used in tests. The ownership of network is not transferred.
|
||||
explicit MusicBrainzClient(QObject *parent = nullptr, QNetworkAccessManager *network = nullptr);
|
||||
~MusicBrainzClient();
|
||||
~MusicBrainzClient() override;
|
||||
|
||||
struct Result {
|
||||
Result() : duration_msec_(0), track_(0), year_(-1) {}
|
||||
|
||||
Reference in New Issue
Block a user