summaryrefslogtreecommitdiff
path: root/src/lib/types.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-14 21:02:56 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-14 21:02:56 +0200
commitb029cb06c4e0fca1fad9fecd78939efe5532fa9a (patch)
treebbef53fcce4acb1ed3d8e23100f9944b11ad7d67 /src/lib/types.cc
parent0877bf6d06de8e6f768534ec40c26bf629618a20 (diff)
DCPReadError -> ReadError in libdcp.
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();