Manager::readOpds() doesn't modify its input

This commit is contained in:
Veloman Yunkan 2021-04-09 17:23:17 +04:00 committed by Matthieu Gautier
parent 9033f2f28e
commit b54215f146
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ bool Manager::readOpds(const std::string& content, const std::string& urlHost)
{
pugi::xml_document doc;
pugi::xml_parse_result result
= doc.load_buffer_inplace((void*)content.data(), content.size());
= doc.load_buffer((void*)content.data(), content.size());
if (result) {
this->parseOpdsDom(doc, urlHost);