diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-11-02 07:45:35 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-11-15 13:47:00 -0800 |
commit | 9f64065c1f70827e3c41a04630ebc50369af5697 (patch) | |
tree | 5bc0c5b272b9a7d10e77ede3292f212af0e4b914 /src/gui/image | |
parent | 30c491f3b259f9472155271f42f2d867040481f6 (diff) |
QString: merge the two toIntegral_helper() back to a template
We go from non-template toInt/toLongLong/etc. to template
QString::toIntegral_helper<T>, then to non-template
QString::toIntegral_helper, then back to template ::toIntegral().
I could maybe use QtPrivate::to{Signed,Unsigned}Integer, which operate
on QByteArrayView, but its use of QtPrivate::ParsedNumber as a return
type is slightly worse.
Change-Id: I3d74c753055744deb8acfffd1723cbc567837483
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/gui/image')
0 files changed, 0 insertions, 0 deletions