diff options
author | Max Kellermann <max@duempel.org> | 2014-01-23 22:33:18 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-23 22:35:22 +0100 |
commit | 3afcfe3330a447915d5c7806ce397cee418e51d0 (patch) | |
tree | 8017883504d6685b79b61db97bce2e606adf1d42 /src | |
parent | b521d8564ad876ced16bcb5dc7c4ddab0f17b98c (diff) | |
download | mpd-3afcfe3330a447915d5c7806ce397cee418e51d0.tar.gz mpd-3afcfe3330a447915d5c7806ce397cee418e51d0.tar.xz mpd-3afcfe3330a447915d5c7806ce397cee418e51d0.zip |
db/upnp/Discovery: un-inline the destructor
Diffstat (limited to 'src')
-rw-r--r-- | src/db/upnp/Discovery.cxx | 5 | ||||
-rw-r--r-- | src/db/upnp/Discovery.hxx | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/db/upnp/Discovery.cxx b/src/db/upnp/Discovery.cxx index 807308a12..5eaf054f5 100644 --- a/src/db/upnp/Discovery.cxx +++ b/src/db/upnp/Discovery.cxx @@ -192,6 +192,11 @@ UPnPDeviceDirectory::UPnPDeviceDirectory(LibUPnP *_lib) { } +UPnPDeviceDirectory::~UPnPDeviceDirectory() +{ + /* this destructor exists here just so it won't get inlined */ +} + bool UPnPDeviceDirectory::Start(Error &error) { diff --git a/src/db/upnp/Discovery.hxx b/src/db/upnp/Discovery.hxx index a45163e9b..78d905369 100644 --- a/src/db/upnp/Discovery.hxx +++ b/src/db/upnp/Discovery.hxx @@ -102,6 +102,7 @@ class UPnPDeviceDirectory { public: UPnPDeviceDirectory(LibUPnP *_lib); + ~UPnPDeviceDirectory(); UPnPDeviceDirectory(const UPnPDeviceDirectory &) = delete; UPnPDeviceDirectory& operator=(const UPnPDeviceDirectory &) = delete; |