FIX: fixed false use of std::move

This commit is contained in:
Henry Winkel
2024-02-14 11:12:15 +01:00
parent 2377948049
commit 7bc5e3f22e

View File

@@ -58,7 +58,7 @@ namespace kubecontrol
auto response = Pod->start(APIInterface_,WaitTillRunning); auto response = Pod->start(APIInterface_,WaitTillRunning);
std::lock_guard<std::mutex>lock(mx_); std::lock_guard<std::mutex>lock(mx_);
PodList_.emplace_back(std::make_unique<KubePod>(std::move(*Pod))); PodList_.emplace_back(std::make_unique<KubePod>(*Pod));
} }