From 129b98efddaba9117d5668a3339d829a1b6af5b0 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 17 Dec 2024 01:05:01 -0600 Subject: [PATCH] Dereference src_pub before assigning it --- 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 e687000..cb4ca00 100644 --- a/cpp/fetch-indexes.cpp +++ b/cpp/fetch-indexes.cpp @@ -239,7 +239,7 @@ int check_pending_packages(const std::string& release) { } } if (!found) { - source_packages.emplace_back(src_pub); + source_packages.emplace_back(*src_pub); } } }