summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qgenericatomic.h
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-02-13 00:50:10 +0200
committerAhmad Samir <a.samirh78@gmail.com>2023-05-26 19:48:32 +0300
commit516aa662a06fd01e7caf23f282702465a23424b8 (patch)
tree37d690b7fd43a325b41b73a56652f17797b625fd /src/corelib/thread/qgenericatomic.h
parent0677d334f85f6d39f6f6495162eec69712e42370 (diff)
Break qglobal.h cyclic includes [3/3]
... with q*atomic.h. Drive-by change: include <climits> instead of <limits.h>, from the former's docs: «This is a Standard C++ Library file. You should @c \#include this file in your programs, rather than any of the @a *.h implementation files.» Task-number: QTBUG-106722 Change-Id: Id8169c482d2231c1620db033fbed1f904e15ed9c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/thread/qgenericatomic.h')
-rw-r--r--src/corelib/thread/qgenericatomic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/thread/qgenericatomic.h b/src/corelib/thread/qgenericatomic.h
index b8a022a2ac..0e4a8a7562 100644
--- a/src/corelib/thread/qgenericatomic.h
+++ b/src/corelib/thread/qgenericatomic.h
@@ -5,7 +5,6 @@
#ifndef QGENERICATOMIC_H
#define QGENERICATOMIC_H
-#include <QtCore/qglobal.h>
#include <QtCore/qtypeinfo.h>
QT_BEGIN_NAMESPACE