From 04b7648e004a5f21c615aa36c0801ae0986baf1e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 18 Jan 2014 13:53:29 +0100 Subject: db/upnp/Device: use ContentDirectoryDescriptor's move operator Reduce bloat. --- src/db/upnp/Device.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/db/upnp/Device.hxx') 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_ */ -- cgit v1.2.3