remove unused QMutexPool::instance()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-02-13 19:51:39 +02:00
parent 8ba9bec0c2
commit 4c79e388c6
2 changed files with 1 additions and 9 deletions

View file

@ -90,14 +90,6 @@ QMutexPool::~QMutexPool()
}
}
/*!
Returns the global QMutexPool instance.
*/
QMutexPool *QMutexPool::instance()
{
return globalMutexPool();
}
/*!
\fn QMutexPool::get(const void *address)
Returns a QMutex from the pool. QMutexPool uses the value \a address

View file

@ -57,7 +57,7 @@ public:
return m;
return createMutex(index);
}
static QMutexPool *instance();
static QMutex *globalInstanceGet(const void *address);
private: