mirror of
https://github.com/opencv/opencv.git
synced 2025-06-13 04:52:53 +08:00
build: avoid MSVC ICE
This commit is contained in:
parent
2da00161c5
commit
138a80611c
@ -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
|
|||||||
}
|
}
|
||||||
wrapper->isReady = true;
|
wrapper->isReady = true;
|
||||||
}
|
}
|
||||||
});
|
);
|
||||||
}
|
}
|
||||||
if (isAsync)
|
if (isAsync)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user