summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-29 15:07:26 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-01 23:43:00 +0200
commit6ebb73004a5568b19228ff699cd68aadc8abbcff (patch)
treef8c8193a427d56dfe3d0f9462655c253b516f5d3 /src/verify.cc
parentd47514ac74ec18cd33481e54b459c4af542bbc19 (diff)
VALID_RELEASE_TERRITORY: note -> territory.
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/verify.cc b/src/verify.cc
index 7d87ba1f..2608ab77 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -1573,7 +1573,7 @@ verify_cpl(Context& context, shared_ptr<const CPL> cpl)
}
}
if (valid) {
- context.add_note(VerificationNote::Code::VALID_RELEASE_TERRITORY, terr);
+ context.add_note(VerificationNote(VerificationNote::Code::VALID_RELEASE_TERRITORY).set_territory(terr));
}
}
}
@@ -2014,7 +2014,7 @@ dcp::note_to_string(VerificationNote note, function<string (string)> process_str
case VerificationNote::Code::INVALID_LANGUAGE:
return compose("The DCP specifies a language '%1' which does not conform to the RFC 5646 standard.", note.note().get());
case VerificationNote::Code::VALID_RELEASE_TERRITORY:
- return compose("Valid release territory %1.", note.note().get());
+ return compose("Valid release territory %1.", *note.territory());
case VerificationNote::Code::INVALID_PICTURE_SIZE_IN_PIXELS:
return compose("The size %1 of picture asset %2 is not allowed.", note.note().get(), filename());
case VerificationNote::Code::INVALID_PICTURE_FRAME_RATE_FOR_2K: