Fix COPY_INSTEAD_OF_MOVE issue in Hetero (#20667)
This commit is contained in:
1 parent
b7406247ff
commit
e977a6ed9b
1 file changed
+1
-1
@@ -7,7 +7,7 @@
|
||||
struct RequestExecutor : ov::threading::ITaskExecutor {
|
||||
explicit RequestExecutor(ov::SoPtr<ov::IAsyncInferRequest>& request) : m_request(request) {
|
||||
m_request->set_callback([this](std::exception_ptr exception_ptr) mutable {
|
||||
m_exception_ptr = exception_ptr;
|
||||
m_exception_ptr = std::move(exception_ptr);
|
||||
auto task = std::move(m_task);
|
||||
task();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user