diff --git a/src/db/upnp/Device.cxx b/src/db/upnp/Device.cxx index e668f839a..8f37a9fb8 100644 --- a/src/db/upnp/Device.cxx +++ b/src/db/upnp/Device.cxx @@ -47,7 +47,7 @@ protected: virtual void EndElement(const XML_Char *name) { if (!strcmp(name, "service")) { - m_device.services.push_back(m_tservice); + m_device.services.emplace_back(std::move(m_tservice)); m_tservice.clear(); }