summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-04-01 00:27:34 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-01 23:43:00 +0200
commita0814a2e44e56d0378c6a47ca9c741de5cfe6356 (patch)
tree4deb871f14830d22d3ed5afe9ea69241a37db16b /src/cpl.cc
parenta82a17578812a41232d69ea10d88b19004418583 (diff)
Remove VerificationNote::note.tidy-verify
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");