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/tools | |
| parent | c1e8c8638bcb3b4c9d90adc3719f38fa7bf81be9 (diff) | |
Fix warnings about catching polymorphic types by value (#1843).
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_kdm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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.") |
