diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-09 13:58:27 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-09 13:58:27 +0200 |
| commit | b915348a8288d68e2ff114fb3dd89ad22e699969 (patch) | |
| tree | 46ce54a62bef93a544ada376d2c42ad4ab50f596 /src/tools/dcpomatic.cc | |
| parent | c80f7a440de73dead499764b4073d39d54c68b9f (diff) | |
Add some missing override labels.
Diffstat (limited to 'src/tools/dcpomatic.cc')
| -rw-r--r-- | src/tools/dcpomatic.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 4d494bb63..42fc421e8 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -1585,7 +1585,7 @@ public: private: - bool OnInit () + bool OnInit () override { try { wxInitAllImageHandlers (); @@ -1693,13 +1693,13 @@ private: return true; } - void OnInitCmdLine (wxCmdLineParser& parser) + void OnInitCmdLine (wxCmdLineParser& parser) override { parser.SetDesc (command_line_description); parser.SetSwitchChars (wxT ("-")); } - bool OnCmdLineParsed (wxCmdLineParser& parser) + bool OnCmdLineParsed (wxCmdLineParser& parser) override { if (parser.Found (wxT("version"))) { cout << "dcpomatic version " << dcpomatic_version << " " << dcpomatic_git_commit << "\n"; @@ -1769,14 +1769,14 @@ private: } /* An unhandled exception has occurred inside the main event loop */ - bool OnExceptionInMainLoop () + bool OnExceptionInMainLoop () override { report_exception (); /* This will terminate the program */ return false; } - void OnUnhandledException () + void OnUnhandledException () override { report_exception (); } |
