lib/upnp/WorkQueue: disallow copying

This commit is contained in:
Max Kellermann
2017-01-23 18:35:58 +01:00
parent f4c248f406
commit ec8cba369c

View File

@@ -77,6 +77,9 @@ public:
setTerminateAndWait(); setTerminateAndWait();
} }
WorkQueue(const WorkQueue &) = delete;
WorkQueue &operator=(const WorkQueue &) = delete;
/** Start the worker threads. /** Start the worker threads.
* *
* @param nworkers number of threads copies to start. * @param nworkers number of threads copies to start.