From dc3c8a05c19b93ae2b1304563f509c6b40cafe2e Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Wed, 18 Dec 2024 17:55:06 -0600 Subject: [PATCH] Initialize distro_series as optional --- src/source_package_publishing_history.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source_package_publishing_history.cpp b/src/source_package_publishing_history.cpp index ddcd892..96b67b1 100644 --- a/src/source_package_publishing_history.cpp +++ b/src/source_package_publishing_history.cpp @@ -37,7 +37,7 @@ source_package_publishing_history::source_package_publishing_history() if (ds) { ds->set_lp(lp); - _distro_series = ds; + _distro_series = std::make_optional(ds.value()); return ds; }