Perhaps an std::move will help?

This commit is contained in:
Simon Quigley 2024-12-18 18:12:42 -06:00
parent dc3c8a05c1
commit 96ab2b7eaa

View File

@ -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 = std::make_optional(ds.value()); _distro_series = std::move(ds.value());
return ds; return ds;
} }