From fadddc8792ae39a7bb48217c50eb7f466950a8c5 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 16 Dec 2024 11:58:16 -0600 Subject: [PATCH] Add a value() for an std::optional --- 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 66ce4f0..efc041e 100644 --- a/cpp/fetch-indexes.cpp +++ b/cpp/fetch-indexes.cpp @@ -245,7 +245,7 @@ int check_pending_packages(const std::string& release) { for (auto& s : source_packages) { for (auto bin : s.getPublishedBinaries()) { - current_builds.insert(bin.build.title); + current_builds.insert(bin.build.value().title); } }