Added -Wall for Clang and GCC (#15513)
* Added -Wall for Clang and GCC * Fixes * Don't use /J * Fixed warnings * Fixed warnings * More fixes * Fixed for MSVC * Fixed more warnings on Windows * Suppressed some warnings in template plugin * Update src/tests/functional/plugin/shared/include/behavior/plugin/caching_tests.hpp * Added suppression for PT FE * Suppressed warnings in TF FE * Suppressed warnings on Core unit tests * Suppress warnings in python * Suppressed Windows warning for 3rd party modules * Suppresed one more warning
This commit is contained in:
@@ -505,7 +505,7 @@ std::pair<AutoBatchExecutableNetwork::WorkerInferRequest&, int> AutoBatchExecuta
|
||||
workerRequestPtr->_batchSize = _device.batchForDevice;
|
||||
workerRequestPtr->_completionTasks.resize(workerRequestPtr->_batchSize);
|
||||
workerRequestPtr->_inferRequestBatched->SetCallback(
|
||||
[workerRequestPtr, this](std::exception_ptr exceptionPtr) mutable {
|
||||
[workerRequestPtr](std::exception_ptr exceptionPtr) mutable {
|
||||
if (exceptionPtr)
|
||||
workerRequestPtr->_exceptionPtr = exceptionPtr;
|
||||
IE_ASSERT(workerRequestPtr->_completionTasks.size() == (size_t)workerRequestPtr->_batchSize);
|
||||
|
||||
Reference in New Issue
Block a user