X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypes.cc;h=9519b309729db5ed323ccdd7bcd8ef0ad93a9d1d;hb=1201f316347d2ea8b09aa89b0c5edaebfaa64c93;hp=9806c99712eb8d1a6c87e43cab4f39aeb530921f;hpb=cc8ea498a3ff9421765a99c347e03533cb0595d4;p=dcpomatic.git diff --git a/src/lib/types.cc b/src/lib/types.cc index 9806c9971..9519b3097 100644 --- a/src/lib/types.cc +++ b/src/lib/types.cc @@ -197,7 +197,7 @@ CPLSummary::CPLSummary (boost::filesystem::path p) list notes; dcp.read (¬es); if (!notes.empty()) { - throw dcp::DCPReadError(dcp::note_to_string(notes.front())); + throw dcp::ReadError(dcp::note_to_string(notes.front())); } cpl_id = dcp.cpls().front()->id();