fix hetero to stop using deprectaed pugixml methods (#2362)

Co-authored-by: Helmut Grohne <helmut.grohne@intenta.de>
This commit is contained in:
helmutg 2020-09-22 18:05:34 +02:00 committed by GitHub
parent 193bdb3195
commit 2e6c95f389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";