mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Cleanup: use override specifier everywhere, and enable gcc warning to check for it.
This commit is contained in:
@@ -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() );
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user