diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2025-01-07 23:58:13 -0300 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2025-01-16 16:05:19 -0800 |
| commit | 61924c622acc5afd1e01dd65702e09a063928c5f (patch) | |
| tree | fb0de3f46d9c31c9c65adea27140b477d88d2675 /src/corelib/tools/qcommandlineparser.cpp | |
| parent | 9dc294143d8fab498268f88c176b1af16de9b2ee (diff) | |
QMessagePattern: merge and improve %{time}-printing code
All modern compilers implement divisions and modulus via multiplications
and shift, so the codegen is practically the same (three multiplications
in total). But the new code allows more than 136 years of uptime (49710
days).
Drive-by fix indentation in nearby line.
Pick-to: 6.9
Change-Id: Iea806bd7dfac1f852c66fffd41c2ac6660e7cc65
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions
