db/upnp/Discovery: un-inline the destructor
This commit is contained in:
parent
b521d8564a
commit
3afcfe3330
@ -192,6 +192,11 @@ UPnPDeviceDirectory::UPnPDeviceDirectory(LibUPnP *_lib)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UPnPDeviceDirectory::~UPnPDeviceDirectory()
|
||||||
|
{
|
||||||
|
/* this destructor exists here just so it won't get inlined */
|
||||||
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
UPnPDeviceDirectory::Start(Error &error)
|
UPnPDeviceDirectory::Start(Error &error)
|
||||||
{
|
{
|
||||||
|
@ -102,6 +102,7 @@ class UPnPDeviceDirectory {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
UPnPDeviceDirectory(LibUPnP *_lib);
|
UPnPDeviceDirectory(LibUPnP *_lib);
|
||||||
|
~UPnPDeviceDirectory();
|
||||||
|
|
||||||
UPnPDeviceDirectory(const UPnPDeviceDirectory &) = delete;
|
UPnPDeviceDirectory(const UPnPDeviceDirectory &) = delete;
|
||||||
UPnPDeviceDirectory& operator=(const UPnPDeviceDirectory &) = delete;
|
UPnPDeviceDirectory& operator=(const UPnPDeviceDirectory &) = delete;
|
||||||
|
Loading…
Reference in New Issue
Block a user