From: Carl Hetherington Date: Tue, 19 Mar 2019 21:37:31 +0000 (+0000) Subject: Fix warning. X-Git-Tag: v2.15.1~48 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=2b39c4d68f321f5e9a6579df8c6e82cae838482e Fix warning. --- diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index 6c1fbd800..3b97fa2da 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -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.")