Use arrows for current_source_publication

main
Simon Quigley 6 days ago
parent 81d7c3a9dd
commit ef564a8012

@ -230,10 +230,10 @@ int check_pending_packages(const std::string& release) {
check_builds.insert(build_record.title); check_builds.insert(build_record.title);
if (build_record.current_source_publication) { if (build_record.current_source_publication) {
auto src_pub = 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; bool found = false;
for (auto& sp : source_packages) { for (auto& sp : source_packages) {
if (sp.self_link == src_pub.self_link) { if (sp.self_link == src_pub->self_link) {
found = true; found = true;
break; break;
} }

Loading…
Cancel
Save