summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpl.cc')
-rw-r--r--src/cpl.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
index 6ef529c7..cac3c2eb 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -155,12 +155,8 @@ CPL::CPL(boost::filesystem::path file, vector<dcp::VerificationNote>* notes)
/* ContentVersion is required in SMPTE */
if (notes) {
notes->push_back(
- dcp::VerificationNote(
- dcp::VerificationNote::Code::MISSING_CPL_CONTENT_VERSION,
- _id,
- file
- )
- );
+ dcp::VerificationNote(dcp::VerificationNote::Code::MISSING_CPL_CONTENT_VERSION, file).set_cpl_id(_id)
+ );
}
}
auto rating_list = f.node_child("RatingList");