From: Carl Hetherington Date: Tue, 19 Mar 2019 21:37:41 +0000 (+0000) Subject: Fix warning. X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=7720a18562bb9a12c9cdc9f002dfdd7abed9b2d5 Fix warning. --- diff --git a/src/wx/kdm_cpl_panel.cc b/src/wx/kdm_cpl_panel.cc index 967fb2845..8b4d93129 100644 --- a/src/wx/kdm_cpl_panel.cc +++ b/src/wx/kdm_cpl_panel.cc @@ -143,7 +143,7 @@ KDMCPLPanel::cpl_browse_clicked () 0 ) ); - } catch (cxml::Error) { + } catch (cxml::Error &) { error_dialog (this, _("This is not a valid CPL file")); return; }