From 481bdc2c0719aac88500d9e344bdf72c737257cf Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 17 Dec 2024 11:16:34 -0600 Subject: [PATCH] Try dereferencing the pointer --- cpp/lintian-ppa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/lintian-ppa.cpp b/cpp/lintian-ppa.cpp index 6f28ef7..94dc5b1 100644 --- a/cpp/lintian-ppa.cpp +++ b/cpp/lintian-ppa.cpp @@ -395,7 +395,7 @@ int main(int argc, char* argv[]) { auto ubuntu_opt = lp->distributions["ubuntu"]; distribution ubuntu = ubuntu_opt.value(); auto ds_opt = ubuntu.current_series; - distro_series current_series = ds_opt.value(); + distro_series current_series = *ds_opt; // Retrieve user and PPA auto user_opt = lp->people[args.user];