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:
Tasuku Suzuki 2019-07-11 03:33:34 +09:00
parent f6d815922d
commit fc15cdb4d0

View File

@ -159,7 +159,7 @@ public:
void relock() {}
void unlock() {}
static bool relock(QBasicMutex *, QBasicMutex *) {}
static bool relock(QBasicMutex *, QBasicMutex *) { return false; }
};
using QBasicMutexLocker = QMutexLocker;