summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-03-19 21:37:41 +0000
committerCarl Hetherington <cth@carlh.net>2019-05-10 23:43:42 +0100
commit095a6ac95435be2cf8dbbe1e38dfb5d5d93ffcc7 (patch)
treebf747197b8b08cfb3f9123650af1ae59f846e008
parent2b39c4d68f321f5e9a6579df8c6e82cae838482e (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;
}