summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qbc.io>2019-07-11 03:33:34 +0900
committerTasuku Suzuki <tasuku.suzuki@qbc.io>2019-07-11 12:56:56 +0900
commitfc15cdb4d0a50f8bf021a93d97435bddee351d0f (patch)
treedceffa8e6befbf47be4de06f45f4dd217c32b47c /src/corelib/thread
parentf6d815922d66c4239c8158d00fe9bfeecf4f4b6e (diff)
return value in QOrderedMutexLocker::relock when thread is disabled
Change-Id: Ic96e777491cc8d304be056a3476a4de4c4700a0f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qorderedmutexlocker_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qorderedmutexlocker_p.h b/src/corelib/thread/qorderedmutexlocker_p.h
index e0a67388d4..570c526225 100644
--- a/src/corelib/thread/qorderedmutexlocker_p.h
+++ b/src/corelib/thread/qorderedmutexlocker_p.h
@@ -159,7 +159,7 @@ public:
void relock() {}
void unlock() {}
- static bool relock(QBasicMutex *, QBasicMutex *) {}
+ static bool relock(QBasicMutex *, QBasicMutex *) { return false; }
};
using QBasicMutexLocker = QMutexLocker;