From a5179ee033bc335002fe43dd2168d763f67ec975 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 13 Sep 2025 23:34:35 +0200 Subject: Compare CPL ID also when sorting verification notes. --- src/verify.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/verify.cc b/src/verify.cc index d3ab2c3f..68eb5e44 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -2262,6 +2262,10 @@ dcp::operator< (dcp::VerificationNote const& a, dcp::VerificationNote const& b) return a.other_id().get_value_or("") < b.other_id().get_value_or(""); } + if (a.cpl_id() != b.cpl_id()) { + return a.cpl_id().get_value_or("") < b.cpl_id().get_value_or(""); + } + return a.frame_rate().get_value_or(0) != b.frame_rate().get_value_or(0); } -- cgit v1.2.3