From 28111007e2e6fd62f5810be780706ae1618bd33f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 21 Jan 2021 02:44:11 +0100 Subject: Adapt for libdcp use of enum class. --- src/lib/types.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/types.cc') 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 notes; dcp.read (¬es); 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)); } -- cgit v1.2.3