From 4b94a38c3cacd1d80f1a4566b8c564704dcdd3a0 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 18 Jan 2015 12:08:58 +0100 Subject: [PATCH] hide copy constructor --- src/lib/utils/wqueue.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/lib/utils/wqueue.h b/src/lib/utils/wqueue.h index 6f32df9e..0c2cc06a 100644 --- a/src/lib/utils/wqueue.h +++ b/src/lib/utils/wqueue.h @@ -53,6 +53,15 @@ public: pthread_cond_destroy(&m_cond); } +private: + /** + * @brief Hidden copy constructor. + * @param src the object to copy from. + */ + WQueue(const WQueue& src); + +public: + /** * @brief add a new item to the end of queue. * @param item to add.