diff --git a/src/source_package_publishing_history.cpp b/src/source_package_publishing_history.cpp index ac216e3..f44423c 100644 --- a/src/source_package_publishing_history.cpp +++ b/src/source_package_publishing_history.cpp @@ -37,8 +37,8 @@ source_package_publishing_history::source_package_publishing_history() if (ds) { ds->set_lp(lp); - _distro_series = std::move(ds.value()); - return ds; + _distro_series = ds.value(); + return _distro_series; } return std::nullopt;