summaryrefslogtreecommitdiff
path: root/src/lib/types.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/types.cc')
-rw-r--r--src/lib/types.cc2
1 files changed, 1 insertions, 1 deletions
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<dcp::VerificationNote> notes;
dcp.read (&notes);
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();