return value in QOrderedMutexLocker::relock when thread is disabled
Change-Id: Ic96e777491cc8d304be056a3476a4de4c4700a0f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
f6d815922d
commit
fc15cdb4d0
@ -159,7 +159,7 @@ public:
|
||||
void relock() {}
|
||||
void unlock() {}
|
||||
|
||||
static bool relock(QBasicMutex *, QBasicMutex *) {}
|
||||
static bool relock(QBasicMutex *, QBasicMutex *) { return false; }
|
||||
};
|
||||
|
||||
using QBasicMutexLocker = QMutexLocker;
|
||||
|
Loading…
Reference in New Issue
Block a user