From: Ilya Lavrenov Date: Fri, 12 Jun 2020 17:27:21 +0000 (+0300) Subject: Removed error lisneter usage X-Git-Tag: submit/tizen/20210224.033012~2^2~167^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9697e3ac245f32f1c6cd830fb59933dea0f40a5c;p=platform%2Fupstream%2Fopencv.git Removed error lisneter usage --- diff --git a/modules/dnn/src/ie_ngraph.cpp b/modules/dnn/src/ie_ngraph.cpp index cf94500..82cb10e 100644 --- a/modules/dnn/src/ie_ngraph.cpp +++ b/modules/dnn/src/ie_ngraph.cpp @@ -239,7 +239,9 @@ private: class InfEngineNgraphExtension : public InferenceEngine::IExtension { public: +#if INF_ENGINE_VER_MAJOR_LT(INF_ENGINE_RELEASE_2020_2) virtual void SetLogCallback(InferenceEngine::IErrorListener&) noexcept {} +#endif virtual void Unload() noexcept {} virtual void Release() noexcept {} virtual void GetVersion(const InferenceEngine::Version*&) const noexcept {} diff --git a/modules/dnn/src/op_inf_engine.hpp b/modules/dnn/src/op_inf_engine.hpp index a256989..337b4fb 100644 --- a/modules/dnn/src/op_inf_engine.hpp +++ b/modules/dnn/src/op_inf_engine.hpp @@ -225,7 +225,9 @@ private: class InfEngineExtension : public InferenceEngine::IExtension { public: +#if INF_ENGINE_VER_MAJOR_LT(INF_ENGINE_RELEASE_2020_2) virtual void SetLogCallback(InferenceEngine::IErrorListener&) noexcept {} +#endif virtual void Unload() noexcept {} virtual void Release() noexcept {} virtual void GetVersion(const InferenceEngine::Version*&) const noexcept {}