Adapt for libdcp use of enum class.
[dcpomatic.git] / src / lib / types.cc
index 9aba915e80f56b8976abe566c0a823d6be531e72..ac7920a2c05e8d960c57df641b51cdf86d86532f 100644 (file)
@@ -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));
                }