lib/upnp/Device: remove unnecessary ctors/dtors

This commit is contained in:
Max Kellermann 2024-01-04 20:49:26 +01:00
parent 4ec85a12e3
commit 1fca16737d
2 changed files with 0 additions and 10 deletions

View File

@ -7,9 +7,6 @@
#include <string.h> #include <string.h>
/* this destructor exists here just so it won't get inlined */
UPnPDevice::~UPnPDevice() noexcept = default;
/** /**
* An XML parser which constructs an UPnP device object from the * An XML parser which constructs an UPnP device object from the
* device descriptor. * device descriptor.

View File

@ -45,13 +45,6 @@ public:
// Services provided by this device. // Services provided by this device.
std::vector<UPnPService> services; std::vector<UPnPService> services;
UPnPDevice() = default;
UPnPDevice(const UPnPDevice &) = delete;
UPnPDevice(UPnPDevice &&) = default;
UPnPDevice &operator=(UPnPDevice &&) = default;
~UPnPDevice() noexcept;
/** Build device from xml description downloaded from discovery /** Build device from xml description downloaded from discovery
* @param url where the description came from * @param url where the description came from
* @param description the xml device description * @param description the xml device description