diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-11-15 09:54:42 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-11-15 23:40:24 +0100 |
commit | b08ba96fd0eed8517a8a60c0d8d4064a7ab90498 (patch) | |
tree | edc3121052f03778bd98a53cf873cd7c66bb5dd4 /tests/auto/tools/uic/baseline/helpdialog.ui.h | |
parent | 6017695bfa98d8d9a6e5977ec80aafa1a4d3ee4d (diff) |
QBENCHMARK: mark loop operations as noexcept
Tell the compiler that next() and isDone() cannot throw, so it doesn't
need to create exception handling code. This might yield more faithful
benchmark results for micro-benchmarks.
As a drive-by, mark isDone() as const, too.
Change-Id: Ifac3d9ee2f4df524e780fd07423e26bb5e87dab3
Reviewed-by: Jason McDonald <macadder1@gmail.com>
Reviewed-by: Isak Fyksen <isak.fyksen@qt.io>
Diffstat (limited to 'tests/auto/tools/uic/baseline/helpdialog.ui.h')
0 files changed, 0 insertions, 0 deletions