diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-23 15:08:56 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-23 15:08:56 +0000 |
| commit | b1ae6e39d31408e5f1eae77fe1de1ac292f54182 (patch) | |
| tree | ad2bb4c335252ea4f48e569dd5c2446d58429a9e /src/wx/kdm_cpl_panel.cc | |
| parent | c1e8c8638bcb3b4c9d90adc3719f38fa7bf81be9 (diff) | |
Fix warnings about catching polymorphic types by value (#1843).
Diffstat (limited to 'src/wx/kdm_cpl_panel.cc')
| -rw-r--r-- | src/wx/kdm_cpl_panel.cc | 2 |
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; } |
