]> git.lyx.org Git - lyx.git/blobdiff - src/support/mutex.cpp
Correct comment
[lyx.git] / src / support / mutex.cpp
index 042c9b88cd172fe54110b30c782a11752b469601..481f0f955241786b0decb45ba66ec22fa46084d6 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <config.h>
 
-#include "mutex.h"
+#include "support/mutex.h"
 
 #include <QMutex>
 
@@ -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();