From 932937c343b63a335ed38f3fdc41c6e6c4f00ef9 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 20 Aug 2015 18:17:46 -0700 Subject: [PATCH] Shut up a missing override warning --- src/main.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main.h b/src/main.h index a52300204..0ddc52175 100644 --- a/src/main.h +++ b/src/main.h @@ -48,12 +48,6 @@ class AegisubApp : public wxApp { void OnFatalException() override; bool OnExceptionInMainLoop() override; - /// @brief Handle wx assertions and redirect to the logging system. - /// @param file File name - /// @param line Line number - /// @param func Function name - /// @param cond Condition - /// @param msg Message void OnAssertFailure(const wxChar *file, int line, const wxChar *func, const wxChar *cond, const wxChar *msg) override; FrameMain *frame = nullptr; @@ -62,7 +56,11 @@ public: AegisubLocale locale; // Apple events - void MacOpenFile(const wxString &filename); + void MacOpenFile(const wxString &filename) +#ifdef __APPLE__ + override +#endif + ; }; wxDECLARE_APP(AegisubApp);