From 9c08ac2fd7b2174673be23fd919f7ce567962397 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 16 Dec 2024 23:42:57 -0600 Subject: [PATCH] Remove extra value() --- cpp/fetch-indexes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/fetch-indexes.cpp b/cpp/fetch-indexes.cpp index 061a5dc..bfc797e 100644 --- a/cpp/fetch-indexes.cpp +++ b/cpp/fetch-indexes.cpp @@ -230,7 +230,7 @@ int check_pending_packages(const std::string& release) { check_builds.insert(build_record.title); if (build_record.current_source_publication.has_value()) { auto src_pub = build_record.current_source_publication.value(); - if (src_pub.distro_series.value().name == series.name) { + if (src_pub.distro_series.name == series.name) { bool found = false; for (auto& sp : source_packages) { if (sp.self_link == src_pub.self_link) {