Removed unnecessary copy constructor call, which makes the Synchronised
class work with NoCopy objects.
This commit is contained in:
parent
aeec90fa0d
commit
4fad614d55
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user