mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 08:07:45 +00:00
Fix misc. clang warnings - mostly complaints about inconsistent use of override.
Previously, MacOpenFile only overrode anything on OS X; otherwise it was just a useless method, which is presumably why it wasn't marked override in the first place. Address this more sanely by wrapping it in #ifdef __APPLE__.
This commit is contained in:
parent
d180e4469e
commit
700b850acd
4 changed files with 10 additions and 6 deletions
|
@ -23,7 +23,9 @@ private:
|
|||
void OnFatalException() override;
|
||||
bool Initialize(int& c, wxChar **v) override;
|
||||
void InitLanguageSupport();
|
||||
void MacOpenFile(const wxString &fileName);
|
||||
#ifdef __APPLE__
|
||||
void MacOpenFile(const wxString &fileName) override;
|
||||
#endif
|
||||
|
||||
bool BatchMode;
|
||||
bool LoadFile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue