Commit 569773cc authored by Max Kellermann's avatar Max Kellermann

lib/upnp/Device: remove UPnPService::clear()

parent a2f5a63b
......@@ -84,7 +84,7 @@ protected:
value = nullptr;
} else if (!strcmp(name, "service")) {
m_device.services.emplace_back(std::move(m_tservice));
m_tservice.clear();
m_tservice = {};
}
}
......
......@@ -36,12 +36,6 @@ struct UPnPService {
// e.g. urn:schemas-upnp-org:service:ConnectionManager:1
std::string serviceType;
std::string controlURL; // e.g.: /upnp/control/cm
void clear()
{
serviceType.clear();
controlURL.clear();
}
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment