Fix warning.
authorCarl Hetherington <cth@carlh.net>
Tue, 19 Mar 2019 21:37:41 +0000 (21:37 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 10 May 2019 22:43:42 +0000 (23:43 +0100)
src/wx/kdm_cpl_panel.cc

index 967fb28457e98800aea5997ac3bdcd45b35affde..8b4d93129dcd7d7a84e677a64748ea2f722ebb6e 100644 (file)
@@ -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;
        }