diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-06-23 11:32:04 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-06-26 06:16:31 +0200 |
| commit | 40b13755c414d9eb8abeeabbe44f88e24932af28 (patch) | |
| tree | 718949b0a2507016c6480ce6e51a8342cf50dfe0 /src/corelib/serialization/qjsonarray.cpp | |
| parent | 56709e812c2ebb3d7f942508947ac7b0394d71ce (diff) | |
QLockFile: inline old int-based timeout functions
The chrono-first approach asks that potentially-truncating functions
that convert from chrono to int be inlined, so the UB happens in the
user's domain and not in Qt's.
When 0592123a0c68b65c83555dc0f023c4bc77030f31 added the functions for
6.2, this approach wasn't, yet, agreed upon, so catch the code up now.
Found in independent review.
As a drive-by, fix incorrect inner spaces on a {} constructor call,
amending 5cea5fc80b9e1b19d620ec6be1acd5cdbd220971.
Pick-to: 6.10
Change-Id: Ic231af1f8c8e10868b7fa9b1f09a63eb8478da0a
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/serialization/qjsonarray.cpp')
0 files changed, 0 insertions, 0 deletions
