Commit bc989379 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #14457 from alalek:dnn_fix_msvc_build

parents 1c092a18 138a8061
...@@ -901,7 +901,7 @@ void InfEngineBackendNet::forward(const std::vector<Ptr<BackendWrapper> >& outBl ...@@ -901,7 +901,7 @@ void InfEngineBackendNet::forward(const std::vector<Ptr<BackendWrapper> >& outBl
InferenceEngine::IInferRequest::Ptr infRequestPtr = reqWrapper->req; InferenceEngine::IInferRequest::Ptr infRequestPtr = reqWrapper->req;
infRequestPtr->SetUserData(reqWrapper.get(), 0); infRequestPtr->SetUserData(reqWrapper.get(), 0);
infRequestPtr->SetCompletionCallback({ infRequestPtr->SetCompletionCallback(
[](InferenceEngine::IInferRequest::Ptr request, InferenceEngine::StatusCode status) [](InferenceEngine::IInferRequest::Ptr request, InferenceEngine::StatusCode status)
{ {
InfEngineReqWrapper* wrapper; InfEngineReqWrapper* wrapper;
...@@ -927,7 +927,7 @@ void InfEngineBackendNet::forward(const std::vector<Ptr<BackendWrapper> >& outBl ...@@ -927,7 +927,7 @@ void InfEngineBackendNet::forward(const std::vector<Ptr<BackendWrapper> >& outBl
} }
wrapper->isReady = true; wrapper->isReady = true;
} }
}); );
} }
if (isAsync) if (isAsync)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment