]> git.lyx.org Git - lyx.git/blobdiff - src/support/mutex.cpp
Add missing header
[lyx.git] / src / support / mutex.cpp
index 042c9b88cd172fe54110b30c782a11752b469601..9f3babda27a5508f07346aa802995bc6facb9687 100644 (file)
@@ -40,22 +40,6 @@ Mutex::~Mutex()
 }
 
 
-// It makes no sense to copy the mutex,
-// each instance has its own QMutex,
-// therefore nothing to copy!
-// TODO review
-Mutex::Mutex(const Mutex&) : d(new Private)
-{
-}
-
-
-Mutex& Mutex::operator=(const Mutex&)
-{
-       return *this;
-}
-
-
-
 Mutex::Locker::Locker(Mutex* mtx) : mutex_(mtx)
 {
        mutex_->d->qmutex_.lock();