1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 14:13:32 +02:00

Fix some warnings on mac

These are mostly missing 'overrides'
This commit is contained in:
James Crook
2018-04-07 20:28:27 +01:00
parent 04d7108509
commit b60fae4470
29 changed files with 50 additions and 53 deletions

View File

@@ -139,8 +139,8 @@ class FLACImportPlugin final : public ImportPlugin
~FLACImportPlugin() { }
wxString GetPluginStringID() { return wxT("libflac"); }
wxString GetPluginFormatDescription();
wxString GetPluginStringID() override { return wxT("libflac"); }
wxString GetPluginFormatDescription() override;
std::unique_ptr<ImportFileHandle> Open(const wxString &Filename) override;
};
@@ -225,7 +225,7 @@ void MyFLACFile::metadata_callback(const FLAC__StreamMetadata *metadata)
// FIXME: not declared when compiling on Ubuntu.
//case FLAC__MAX_METADATA_TYPE: // quiet compiler warning with this line
default:
break;
}
}

View File

@@ -116,8 +116,8 @@ public:
~MP3ImportPlugin() { }
wxString GetPluginStringID() { return wxT("libmad"); }
wxString GetPluginFormatDescription();
wxString GetPluginStringID() override { return wxT("libmad"); }
wxString GetPluginFormatDescription() override;
std::unique_ptr<ImportFileHandle> Open(const wxString &Filename) override;
};

View File

@@ -92,8 +92,8 @@ public:
~OggImportPlugin() { }
wxString GetPluginStringID() { return wxT("liboggvorbis"); }
wxString GetPluginFormatDescription();
wxString GetPluginStringID() override { return wxT("liboggvorbis"); }
wxString GetPluginFormatDescription() override;
std::unique_ptr<ImportFileHandle> Open(const wxString &Filename) override;
};

View File

@@ -80,8 +80,8 @@ public:
~PCMImportPlugin() { }
wxString GetPluginStringID() { return wxT("libsndfile"); }
wxString GetPluginFormatDescription();
wxString GetPluginStringID() override { return wxT("libsndfile"); }
wxString GetPluginFormatDescription() override;
std::unique_ptr<ImportFileHandle> Open(const wxString &Filename) override;
};