Cleanup: use override specifier everywhere, and enable gcc warning to check for it.

This commit is contained in:
Twan van Laarhoven
2020-05-16 00:23:18 +02:00
parent a7c47729c1
commit 5deaeeeb3e
113 changed files with 710 additions and 714 deletions
+2 -2
View File
@@ -91,7 +91,7 @@ bool update_available() {
// If not, displays a message
class CheckUpdateThread : public wxThread {
public:
virtual void* Entry() {
void* Entry() override {
Work();
return 0;
}
@@ -170,7 +170,7 @@ struct HtmlWindowToBrowser : public wxHtmlWindow {
: wxHtmlWindow(parent, id, pos, size, flags)
{}
virtual void OnLinkClicked(const wxHtmlLinkInfo& info) {
void OnLinkClicked(const wxHtmlLinkInfo& info) override {
wxLaunchDefaultBrowser( info.GetHref() );
}
};