QMutex: add missing <chrono> include
std::chrono is still used in the header. Do not rely on transitive includes, instead include the header explicitly. Change-Id: If9140499e5dccf0065a4826831d3b83813910318 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 32d44b612c0e412b10af021c9c6bc911e2f01d04) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
2b7854bd31
commit
ad330d9f61
@ -9,6 +9,8 @@
|
|||||||
#include <QtCore/qdeadlinetimer.h>
|
#include <QtCore/qdeadlinetimer.h>
|
||||||
#include <QtCore/qtsan_impl.h>
|
#include <QtCore/qtsan_impl.h>
|
||||||
|
|
||||||
|
#include <chrono>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
#if QT_CONFIG(thread) || defined(Q_QDOC)
|
#if QT_CONFIG(thread) || defined(Q_QDOC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user