Perhaps an std::move will help?

main
Simon Quigley 4 days ago
parent dc3c8a05c1
commit 96ab2b7eaa

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

Loading…
Cancel
Save