lib/upnp/WorkQueue: disallow copying

This commit is contained in:
Max Kellermann 2017-01-23 18:35:58 +01:00
parent f4c248f406
commit ec8cba369c
1 changed files with 3 additions and 0 deletions

View File

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