Removed unnecessary copy constructor call, which makes the Synchronised

class work with NoCopy objects.
This commit is contained in:
hiker 2015-10-17 09:33:05 +11:00
parent aeec90fa0d
commit 4fad614d55

View File

@ -42,7 +42,7 @@ private:
public:
// ------------------------------------------------------------------------
/** Initialise the data and the mutex with default constructors. */
Synchronised() : m_data(TYPE())
Synchronised() : m_data()
{
pthread_mutex_init(&m_mutex, NULL);
} // Synchronised()