OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c79e38
)
disable copying of QMutexPool
author
Ivailo Monev
<xakepa10@gmail.com>
Sat, 13 Feb 2021 17:53:51 +0000
(19:53 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sat, 13 Feb 2021 17:53:51 +0000
(19:53 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/thread/qmutexpool_p.h
patch
|
blob
|
history
diff --git
a/src/core/thread/qmutexpool_p.h
b/src/core/thread/qmutexpool_p.h
index
7a837d5
..
229ecdd
100644
(file)
--- a/
src/core/thread/qmutexpool_p.h
+++ b/
src/core/thread/qmutexpool_p.h
@@
-64,6
+64,8
@@
private:
QMutex *createMutex(int index);
std::array<QAtomicPointer<QMutex>, QMUTEXPOOL_SIZE> mutexes;
const QMutex::RecursionMode recursionMode;
+
+ Q_DISABLE_COPY(QMutexPool)
};
QT_END_NAMESPACE