lib/upnp/Device: remove unnecessary ctors/dtors
This commit is contained in:
parent
4ec85a12e3
commit
1fca16737d
|
@ -7,9 +7,6 @@
|
|||
|
||||
#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
|
||||
* device descriptor.
|
||||
|
|
|
@ -45,13 +45,6 @@ public:
|
|||
// Services provided by this device.
|
||||
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
|
||||
* @param url where the description came from
|
||||
* @param description the xml device description
|
||||
|
|
Loading…
Reference in New Issue