From ad76bad8fd8a0fa1a0e653faf52d8eeb7375f9b2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 18 Jan 2014 13:39:31 +0100 Subject: db/upnp: use move operator to assign XML CDATA Reduce runtime bloat. --- src/db/upnp/Directory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/upnp/Directory.cxx') 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': -- cgit v1.2.3