diff --git a/src/core/include/ngraph/factory.hpp b/src/core/include/ngraph/factory.hpp index 0b82a5faf2a..44e4988c4df 100644 --- a/src/core/include/ngraph/factory.hpp +++ b/src/core/include/ngraph/factory.hpp @@ -40,6 +40,8 @@ public: }; } + ~FactoryRegistry() = default; + /// \brief Register a custom factory for type_info void register_factory(const typename BASE_TYPE::type_info_t& type_info, Factory factory) { std::lock_guard guard(get_registry_mutex()); diff --git a/src/core/include/ngraph/op/util/slice_plan.hpp b/src/core/include/ngraph/op/util/slice_plan.hpp index 553e732383c..a0f99cccaed 100644 --- a/src/core/include/ngraph/op/util/slice_plan.hpp +++ b/src/core/include/ngraph/op/util/slice_plan.hpp @@ -19,6 +19,7 @@ #include "ngraph/axis_set.hpp" #include "ngraph/shape.hpp" +NGRAPH_SUPPRESS_DEPRECATED_START namespace ngraph { // // In various places, like ConstantFolding, it is @@ -66,3 +67,4 @@ NGRAPH_API_DEPRECATED SlicePlan NGRAPH_API make_slice_plan(const Shape& input_sh } // namespace ngraph using ngraph::make_slice_plan; +NGRAPH_SUPPRESS_DEPRECATED_END diff --git a/src/core/include/ngraph/util.hpp b/src/core/include/ngraph/util.hpp index 52a3d2827fa..4af0e4cf758 100644 --- a/src/core/include/ngraph/util.hpp +++ b/src/core/include/ngraph/util.hpp @@ -51,6 +51,7 @@ namespace runtime { class Tensor; } // namespace runtime +NGRAPH_SUPPRESS_DEPRECATED_START template NGRAPH_API_DEPRECATED std::string join(const T& v, const std::string& sep = ", ") { std::ostringstream ss; @@ -351,3 +352,4 @@ std::vector NGRAPH_API read_index_vector(std::shared_ptr