diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-08-27 18:44:13 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-08-29 01:03:01 +0200 |
| commit | 792bea9be3760f58de4d1c30fbecab0071fe311e (patch) | |
| tree | 332424ec1c1ce1f0cc040dca2910c253f6314334 /src/corelib/kernel/qtimer.cpp | |
| parent | 877fe0e7b3aada3f99bbf0415cba9daf97b067db (diff) | |
QXmlString: add noexcept to size() and operator QStringView()
size() is obviously noexcept. QStringView ctors have an implied
precondition that the (ptr, n) range passed represent a valid
range. Since this is a member function QXmlString, we can assume that
the class variants hold and m_string itself represents valid (or null)
data, so this operation is also noexcept.
As a drive-by, remove pointless inline keywords.
Pick-to: 6.8
Change-Id: Ia7637e77005062b6515ceac4b62efaf14a2eb486
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions
