summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2022-07-06 16:49:35 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2022-08-11 21:13:16 +0200
commitdf1db826cb93132c05215be8f1451327d0323b4b (patch)
treea326c3a4340936d49d163c345ce55eaa34a77ee0 /src/corelib/kernel
parentfc3441101b201ae37fda899bf69b5b4ded790a26 (diff)
Move qMin/qMax/qBound() to a separate qminmax.h header
Also replaced qMin() uses in qnumeric.h with QtPrivate::min(). Including qassert.h in qminmax.h leads to indirect include of qglobal.h (through qcompilerdetection.h), which in turn leads to qMin() declaration not being available at the point the compiler sees qFuzzyCompare() definitions in qnumeric.h. This makes the headersclean build fail. Task-number: QTBUG-99313 Change-Id: I824422698b06f94a4a62e2f19d4507c87f90334e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions