QMutex: add missing <chrono> include

std::chrono is still used in the header.
Do not rely on transitive includes, instead include the header
explicitly.

Pick-to: 6.6
Change-Id: If9140499e5dccf0065a4826831d3b83813910318
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Ivan Solovev 2023-07-18 11:15:36 +02:00
parent 7a33a08376
commit 32d44b612c

View File

@ -9,6 +9,8 @@
#include <QtCore/qdeadlinetimer.h>
#include <QtCore/qtsan_impl.h>
#include <chrono>
QT_BEGIN_NAMESPACE
#if QT_CONFIG(thread) || defined(Q_QDOC)