From ef564a80124b365a566eefc60cafa6202f8d9684 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 17 Dec 2024 00:59:52 -0600 Subject: [PATCH] Use arrows for current_source_publication --- cpp/fetch-indexes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/fetch-indexes.cpp b/cpp/fetch-indexes.cpp index 755d457..e687000 100644 --- a/cpp/fetch-indexes.cpp +++ b/cpp/fetch-indexes.cpp @@ -230,10 +230,10 @@ int check_pending_packages(const std::string& release) { check_builds.insert(build_record.title); if (build_record.current_source_publication) { auto src_pub = build_record.current_source_publication; - if (src_pub.distro_series && src_pub.distro_series->name == series.name) { + if (src_pub->distro_series && src_pub->distro_series->name == series.name) { bool found = false; for (auto& sp : source_packages) { - if (sp.self_link == src_pub.self_link) { + if (sp.self_link == src_pub->self_link) { found = true; break; }