fix hetero to stop using deprectaed pugixml methods (#2362)
Co-authored-by: Helmut Grohne <helmut.grohne@intenta.de>
This commit is contained in:
parent
193bdb3195
commit
2e6c95f389
@ -714,7 +714,7 @@ HeteroExecutableNetwork::HeteroExecutableNetwork(std::istream&
|
||||
std::getline(heteroModel, heteroXmlStr);
|
||||
|
||||
pugi::xml_document heteroXmlDoc;
|
||||
pugi::xml_parse_result res = heteroXmlDoc.load(heteroXmlStr.c_str());
|
||||
pugi::xml_parse_result res = heteroXmlDoc.load_string(heteroXmlStr.c_str());
|
||||
|
||||
if (res.status != pugi::status_ok) {
|
||||
THROW_IE_EXCEPTION << "Error reading HETERO plugin xml header";
|
||||
|
Loading…
Reference in New Issue
Block a user