Fix -Winfinite-recursion error reported by compiler (#11247)

Signed-off-by: Raviraj P Sitaram <raviraj.p.sitaram@intel.com>
This commit is contained in:
RavirajSitaram 2022-03-28 14:24:11 +05:30 committed by GitHub
parent aded1a2c70
commit 30884a8161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,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<Node>::Factory factory) {
return insert(name, type_info, std::move(factory));
return 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 <typename OP_TYPE>