diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2023-07-18 11:15:36 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2023-07-18 15:53:07 +0200 |
commit | 32d44b612c0e412b10af021c9c6bc911e2f01d04 (patch) | |
tree | 9aeedf165092ec745679fe1d6e001ff4293f7f58 /src/corelib/thread/qmutex.h | |
parent | 7a33a08376a30bb7b788cafc2343378131fd1e8d (diff) |
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>
Diffstat (limited to 'src/corelib/thread/qmutex.h')
-rw-r--r-- | src/corelib/thread/qmutex.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h index 6081bfe4cc..a96db102d2 100644 --- a/src/corelib/thread/qmutex.h +++ b/src/corelib/thread/qmutex.h @@ -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) |