diff options
author | Max Kellermann <max@duempel.org> | 2014-01-18 13:39:31 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-18 13:39:31 +0100 |
commit | ad76bad8fd8a0fa1a0e653faf52d8eeb7375f9b2 (patch) | |
tree | da95013466d8ffa3fd47bdaa0bc308403dbdd82b /src/db/upnp/Directory.cxx | |
parent | 55737e4ff63df685f1603eadc3105cda38b7da9b (diff) | |
download | mpd-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.cxx | 2 |
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': |