FIX: fixed false use of std::move
This commit is contained in:
@@ -58,7 +58,7 @@ namespace kubecontrol
|
||||
auto response = Pod->start(APIInterface_,WaitTillRunning);
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user