From 96ab2b7eaa268b7a8e906d898159f74fefc76452 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Wed, 18 Dec 2024 18:12:42 -0600 Subject: [PATCH] Perhaps an std::move will help? --- src/source_package_publishing_history.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }