From ff869661d7632bc40aec17d1d42e31f18bd0c40b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 Dec 2025 12:23:15 +0100 Subject: Derive verification note type from the code... ...rather than having to specify it each time. --- src/cpl.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/cpl.cc') diff --git a/src/cpl.cc b/src/cpl.cc index 46d73c47..2fbe373a 100644 --- a/src/cpl.cc +++ b/src/cpl.cc @@ -121,7 +121,6 @@ CPL::CPL(boost::filesystem::path file, vector* notes) if (notes) { notes->push_back( dcp::VerificationNote( - dcp::VerificationNote::Type::ERROR, dcp::VerificationNote::Code::INVALID_CPL_NAMESPACE, f.namespace_uri(), file @@ -154,7 +153,6 @@ CPL::CPL(boost::filesystem::path file, vector* notes) if (notes) { notes->push_back( dcp::VerificationNote( - dcp::VerificationNote::Type::ERROR, dcp::VerificationNote::Code::MISSING_CPL_CONTENT_VERSION, _id, file @@ -319,7 +317,6 @@ CPL::read_composition_metadata_asset(cxml::ConstNodePtr node, vectorpush_back( dcp::VerificationNote( - dcp::VerificationNote::Type::ERROR, dcp::VerificationNote::Code::INVALID_MAIN_SOUND_CONFIGURATION, fmt::format("{} could not be parsed", _main_sound_configuration->as_string()), *_file -- cgit v1.2.3