Updated Scraper to not use deprecated pugixml method

This commit is contained in:
Leon Styhre 2020-05-15 18:39:54 +02:00
parent 6303aa5664
commit eec27c0258

View file

@ -167,7 +167,7 @@ void ScreenScraperRequest::process(const std::unique_ptr<HttpReq>& req, std::vec
assert(req->status() == HttpReq::REQ_SUCCESS);
pugi::xml_document doc;
pugi::xml_parse_result parseResult = doc.load(req->getContent().c_str());
pugi::xml_parse_result parseResult = doc.load_string(req->getContent().c_str());
if (!parseResult)
{