X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_menu.cc;h=e5cadd7942870f90512d57f2320fc1cd2f2e7a88;hb=9153a8a53ada73b4b016e7bb6faf1c2ed99f011b;hp=19c54abcc33529375563d6c452df17fdc5670f41;hpb=3c414bf90d4cfcfe342c0b057b5134f72485fe32;p=dcpomatic.git diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index 19c54abcc..e5cadd794 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -142,11 +142,11 @@ ContentMenu::popup (weak_ptr film, ContentList c, TimelineContentViewList ); item->Check (dcp->cpl() && dcp->cpl() == i->id()); } - } catch (dcp::DCPReadError) { + } catch (dcp::DCPReadError &) { /* The DCP is probably missing */ - } catch (dcp::KDMDecryptionError) { + } catch (dcp::KDMDecryptionError &) { /* We have an incorrect KDM */ - } catch (KDMError) { + } catch (KDMError &) { /* We have an incorrect KDM */ } } else {