diff --git a/src/core/include/ngraph/opsets/opset.hpp b/src/core/include/ngraph/opsets/opset.hpp index 1e6dc773e8e..50d2ca22fbd 100644 --- a/src/core/include/ngraph/opsets/opset.hpp +++ b/src/core/include/ngraph/opsets/opset.hpp @@ -24,7 +24,7 @@ public: OpSet() = default; /// \brief Insert an op into the opset with a particular name and factory void insert(const std::string& name, const NodeTypeInfo& type_info, FactoryRegistry::Factory factory) { - return ov::OpSet::insert(name, type_info, std::move(factory)); + ov::OpSet::insert(name, type_info, std::move(factory)); } /// \brief Insert OP_TYPE into the opset with a special name and the default factory template