aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Directory.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-18 13:39:31 +0100
committerMax Kellermann <max@duempel.org>2014-01-18 13:39:31 +0100
commitad76bad8fd8a0fa1a0e653faf52d8eeb7375f9b2 (patch)
treeda95013466d8ffa3fd47bdaa0bc308403dbdd82b /src/db/upnp/Directory.cxx
parent55737e4ff63df685f1603eadc3105cda38b7da9b (diff)
downloadmpd-ad76bad8fd8a0fa1a0e653faf52d8eeb7375f9b2.tar.gz
mpd-ad76bad8fd8a0fa1a0e653faf52d8eeb7375f9b2.tar.xz
mpd-ad76bad8fd8a0fa1a0e653faf52d8eeb7375f9b2.zip
db/upnp: use move operator to assign XML CDATA
Reduce runtime bloat.
Diffstat (limited to 'src/db/upnp/Directory.cxx')
-rw-r--r--src/db/upnp/Directory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/upnp/Directory.cxx b/src/db/upnp/Directory.cxx
index 757e2e19d..00ce68816 100644
--- a/src/db/upnp/Directory.cxx
+++ b/src/db/upnp/Directory.cxx
@@ -172,7 +172,7 @@ protected:
switch (m_path.back()[0]) {
case 'r':
if (!m_path.back().compare("res")) {
- m_tobj.url = str;
+ m_tobj.url = std::move(str);
}
break;
case 'u':