lib/upnp/Device: remove unnecessary ctors/dtors
This commit is contained in:
parent
4ec85a12e3
commit
1fca16737d
@ -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.
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user