summaryrefslogtreecommitdiff
path: root/src/lib/types.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-21 02:44:11 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-21 20:15:14 +0100
commit28111007e2e6fd62f5810be780706ae1618bd33f (patch)
treed99fe830ba961b174d3f024d2b5671a9821ed8a9 /src/lib/types.cc
parentc7d77490382d6ddb625340c05b57487cde244f96 (diff)
Adapt for libdcp use of enum class.
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 9aba915e8..ac7920a2c 100644
--- a/src/lib/types.cc
+++ b/src/lib/types.cc
@@ -201,7 +201,7 @@ CPLSummary::CPLSummary (boost::filesystem::path p)
vector<dcp::VerificationNote> notes;
dcp.read (&notes);
for (auto i: notes) {
- if (i.code() != dcp::VerificationNote::EXTERNAL_ASSET) {
+ if (i.code() != dcp::VerificationNote::Code::EXTERNAL_ASSET) {
/* It's not just a warning about this DCP being a VF */
throw dcp::ReadError(dcp::note_to_string(i));
}