From 002e68b535d2c52e18e5de617010db8c78a2d2d3 Mon Sep 17 00:00:00 2001 From: Vladislav Volkov Date: Fri, 24 Sep 2021 10:56:05 +0300 Subject: [PATCH] Fix of deprecated function usage in ngraph::OpSet (#7637) --- ngraph/core/include/ngraph/opsets/opset.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ngraph/core/include/ngraph/opsets/opset.hpp b/ngraph/core/include/ngraph/opsets/opset.hpp index b7eecd1876a..227e22b51be 100644 --- a/ngraph/core/include/ngraph/opsets/opset.hpp +++ b/ngraph/core/include/ngraph/opsets/opset.hpp @@ -9,6 +9,7 @@ #include #include +#include "ngraph/deprecated.hpp" #include "ngraph/factory.hpp" #include "ngraph/ngraph_visibility.hpp" #include "ngraph/node.hpp" @@ -36,7 +37,9 @@ public: /// \brief Insert OP_TYPE into the opset with the default name and factory template ::value, bool>::type = true> void insert() { + NGRAPH_SUPPRESS_DEPRECATED_START ov::OpSet::insert(OP_TYPE::type_info.name); + NGRAPH_SUPPRESS_DEPRECATED_END } template ::value, bool>::type = true>