diff --git a/src/source_package_publishing_history.cpp b/src/source_package_publishing_history.cpp index 96b67b1..ac216e3 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 = std::make_optional(ds.value()); + _distro_series = std::move(ds.value()); return ds; }