X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_disk.cc;h=1907a604522149e1b642ee84022d4ef2fea6ccb2;hp=ec5d8e782db122dc4a15814432aa3ddae5bb2f2c;hb=b915348a8288d68e2ff114fb3dd89ad22e699969;hpb=c80f7a440de73dead499764b4073d39d54c68b9f diff --git a/src/tools/dcpomatic_disk.cc b/src/tools/dcpomatic_disk.cc index ec5d8e782..1907a6045 100644 --- a/src/tools/dcpomatic_disk.cc +++ b/src/tools/dcpomatic_disk.cc @@ -418,7 +418,7 @@ public: : _frame (nullptr) {} - bool OnInit () + bool OnInit () override { try { Config::FailedToLoad.connect (boost::bind (&App::config_failed_to_load, this)); @@ -489,13 +489,13 @@ public: 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 { _skip_alpha_check = parser.Found(wxT("sure")); @@ -549,14 +549,14 @@ public: } } - bool OnExceptionInMainLoop () + bool OnExceptionInMainLoop () override { report_exception (); /* This will terminate the program */ return false; } - void OnUnhandledException () + void OnUnhandledException () override { report_exception (); }