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

index 6c1fbd8004c0fedbda1b482fd0480d068aa14b51..3b97fa2da2cb57882eb0ab7c29421ee27182e103 100644 (file)
@@ -437,7 +437,7 @@ private:
                                        std_to_wx(e.what())
                                        );
                                return;
-                       } catch (dcp::KDMDecryptionError) {
+                       } catch (dcp::KDMDecryptionError &) {
                                error_dialog (
                                        this,
                                        _("Could not decrypt the DKDM.  Perhaps it was not created with the correct certificate.")