aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Device.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-18 13:53:29 +0100
committerMax Kellermann <max@duempel.org>2014-01-18 14:26:24 +0100
commit04b7648e004a5f21c615aa36c0801ae0986baf1e (patch)
tree9e4196edc32ea75efc5c4c1a72e2dd0e63ec9478 /src/db/upnp/Device.hxx
parentbe0759d4651126c0695c7ff83e1f2a9feca7ec4e (diff)
downloadmpd-04b7648e004a5f21c615aa36c0801ae0986baf1e.tar.gz
mpd-04b7648e004a5f21c615aa36c0801ae0986baf1e.tar.xz
mpd-04b7648e004a5f21c615aa36c0801ae0986baf1e.zip
db/upnp/Device: use ContentDirectoryDescriptor's move operator
Reduce bloat.
Diffstat (limited to '')
-rw-r--r--src/db/upnp/Device.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db/upnp/Device.hxx b/src/db/upnp/Device.hxx
index 78b9820f9..78be01bd5 100644
--- a/src/db/upnp/Device.hxx
+++ b/src/db/upnp/Device.hxx
@@ -85,6 +85,10 @@ public:
UPnPDevice(const std::string &url, const char *description);
UPnPDevice() : ok(false) {}
+
+ UPnPDevice(const UPnPDevice &) = delete;
+ UPnPDevice(UPnPDevice &&) = default;
+ UPnPDevice &operator=(UPnPDevice &&) = default;
};
#endif /* _UPNPDEV_HXX_INCLUDED_ */