diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-21 02:44:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-21 20:15:14 +0100 |
| commit | 28111007e2e6fd62f5810be780706ae1618bd33f (patch) | |
| tree | d99fe830ba961b174d3f024d2b5671a9821ed8a9 /src/lib/types.cc | |
| parent | c7d77490382d6ddb625340c05b57487cde244f96 (diff) | |
Adapt for libdcp use of enum class.
Diffstat (limited to 'src/lib/types.cc')
| -rw-r--r-- | src/lib/types.cc | 2 |
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 (¬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)); } |
