summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/xkbcommon
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-11-30 13:44:34 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-12-06 12:28:41 +0100
commitad5c5bb541ae20a205ac07122153b302dee1d3e1 (patch)
treed4f14ed3614e92553ba24209b4b778e812e59a58 /src/3rdparty/xkbcommon
parent19072a177bf72c28082a377f37ed19cbb06f9740 (diff)
qBound: add an assert on !(upper < lower)
It's a precondition and we might just as well check it, given that people have actually got the order of the arguments wrong (cf. QTBUG-69330). Unfortunately, Q_ASSERT is defined below qBound in qglobal.h, so I had to reshuffle some code around. Change-Id: I82e52bcb863ff8c96594817e0cd5d7d2abe2e57e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/3rdparty/xkbcommon')
0 files changed, 0 insertions, 0 deletions