performance: move instead of copy

Related-To: NEO-15630

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
This commit is contained in:
Jakub Nowacki
2025-11-14 14:40:02 +00:00
committed by Compute-Runtime-Automation
parent f0fed704a3
commit be34c1ac86
7 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ void HostFunctionWorkerAtomic::start() {
std::lock_guard<std::mutex> lg{workerMutex};
if (!worker) {
worker = std::make_unique<std::jthread>([this](std::stop_token st) {
this->workerLoop(st);
this->workerLoop(std::move(st));
});
}
}