lib/upnp/Discovery: avoid a std::string copy
This commit is contained in:
parent
2a5010a426
commit
9a6d2b791f
@ -85,7 +85,7 @@ UPnPDeviceDirectory::Downloader::OnEnd()
|
||||
expires);
|
||||
|
||||
try {
|
||||
d.Parse(url.c_str(), data.c_str());
|
||||
d.Parse(url, data.c_str());
|
||||
} catch (const std::exception &e) {
|
||||
LogError(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user