aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Device.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-18 14:24:38 +0100
committerMax Kellermann <max@duempel.org>2014-01-18 14:24:38 +0100
commitbe0759d4651126c0695c7ff83e1f2a9feca7ec4e (patch)
tree14d37ebaa48631d3f29aca5a86b2e49db13e55a6 /src/db/upnp/Device.hxx
parent339d939873f4dfcb11c9ab7737118f50218dfc96 (diff)
downloadmpd-be0759d4651126c0695c7ff83e1f2a9feca7ec4e.tar.gz
mpd-be0759d4651126c0695c7ff83e1f2a9feca7ec4e.tar.xz
mpd-be0759d4651126c0695c7ff83e1f2a9feca7ec4e.zip
db/upnp/Discovery: don't copy XML to std::string
Pass "const char *" to Expat.
Diffstat (limited to '')
-rw-r--r--src/db/upnp/Device.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/upnp/Device.hxx b/src/db/upnp/Device.hxx
index 9cccc9bbc..78b9820f9 100644
--- a/src/db/upnp/Device.hxx
+++ b/src/db/upnp/Device.hxx
@@ -82,7 +82,7 @@ public:
* @param url where the description came from
* @param description the xml device description
*/
- UPnPDevice(const std::string &url, const std::string &description);
+ UPnPDevice(const std::string &url, const char *description);
UPnPDevice() : ok(false) {}
};