Fix warning.
authorCarl Hetherington <cth@carlh.net>
Tue, 19 Mar 2019 21:37:41 +0000 (21:37 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 7 Apr 2019 23:22:39 +0000 (00:22 +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;
        }