Initialize distro_series as optional

main
Simon Quigley 4 days ago
parent 5a47dd5c8d
commit dc3c8a05c1

@ -37,7 +37,7 @@ source_package_publishing_history::source_package_publishing_history()
if (ds) { if (ds) {
ds->set_lp(lp); ds->set_lp(lp);
_distro_series = ds; _distro_series = std::make_optional(ds.value());
return ds; return ds;
} }

Loading…
Cancel
Save