X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fmutex.cpp;h=9f3babda27a5508f07346aa802995bc6facb9687;hb=8e4648f38c2b6051832faf2e31e280ba36e3184a;hp=042c9b88cd172fe54110b30c782a11752b469601;hpb=06f26e85df99b56fee97282b9f9ac7d51fb976cc;p=lyx.git diff --git a/src/support/mutex.cpp b/src/support/mutex.cpp index 042c9b88cd..9f3babda27 100644 --- a/src/support/mutex.cpp +++ b/src/support/mutex.cpp @@ -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();