mirror of
https://github.com/RetroPie/EmulationStation.git
synced 2024-05-31 18:47:42 -04:00
Merge pull request #843 from pjft/pugixml-warn
Fix Pugixml deprecated method
This commit is contained in:
commit
e02ca4a18e
|
@ -184,7 +184,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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue