Skip to content

Commit 9697e3a

Browse files
ilya-lavrenovalalek
authored andcommitted
Removed error lisneter usage
1 parent 0c8da03 commit 9697e3a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

modules/dnn/src/ie_ngraph.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,9 @@ class InfEngineNgraphCustomLayerFactory : public InferenceEngine::ILayerImplFact
239239
class InfEngineNgraphExtension : public InferenceEngine::IExtension
240240
{
241241
public:
242+
#if INF_ENGINE_VER_MAJOR_LT(INF_ENGINE_RELEASE_2020_2)
242243
virtual void SetLogCallback(InferenceEngine::IErrorListener&) noexcept {}
244+
#endif
243245
virtual void Unload() noexcept {}
244246
virtual void Release() noexcept {}
245247
virtual void GetVersion(const InferenceEngine::Version*&) const noexcept {}

modules/dnn/src/op_inf_engine.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ class InfEngineBackendLayer : public Layer
225225
class InfEngineExtension : public InferenceEngine::IExtension
226226
{
227227
public:
228+
#if INF_ENGINE_VER_MAJOR_LT(INF_ENGINE_RELEASE_2020_2)
228229
virtual void SetLogCallback(InferenceEngine::IErrorListener&) noexcept {}
230+
#endif
229231
virtual void Unload() noexcept {}
230232
virtual void Release() noexcept {}
231233
virtual void GetVersion(const InferenceEngine::Version*&) const noexcept {}

0 commit comments

Comments
 (0)