mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 13:10:12 +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;
|
||||
infRequestPtr->SetUserData(reqWrapper.get(), 0);
|
||||
|
||||
infRequestPtr->SetCompletionCallback({
|
||||
infRequestPtr->SetCompletionCallback(
|
||||
[](InferenceEngine::IInferRequest::Ptr request, InferenceEngine::StatusCode status)
|
||||
{
|
||||
InfEngineReqWrapper* wrapper;
|
||||
@ -927,7 +927,7 @@ void InfEngineBackendNet::forward(const std::vector<Ptr<BackendWrapper> >& outBl
|
||||
}
|
||||
wrapper->isReady = true;
|
||||
}
|
||||
});
|
||||
);
|
||||
}
|
||||
if (isAsync)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user