summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-03-19 21:37:41 +0000
committerCarl Hetherington <cth@carlh.net>2019-04-08 00:22:39 +0100
commit7720a18562bb9a12c9cdc9f002dfdd7abed9b2d5 (patch)
treec847e3ea72e21cb5cfa552096dec9109da716cd2
parentad74dfa3d99f6bafa16b3bd6bc3533a8239e9060 (diff)
Fix warning.
-rw-r--r--src/wx/kdm_cpl_panel.cc2
1 files changed, 1 insertions, 1 deletions
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;
}