diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2017-05-03 20:11:34 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2017-05-16 09:34:54 +0000 |
commit | 51e1374bae4ae449b04ddeb30c14bc67935705ca (patch) | |
tree | e343cd5056c1d06f09fd8c346435b4949f554a63 /src/corelib/tools/qstringalgorithms_p.h | |
parent | 3c592a17f1b54c88a0d868b7251f5134dac421b6 (diff) |
QLatin1String: add constructor from pointer pair
This is often more natural than (ptr, len), and I need it in the
implementation of QLatin1String::trimmed().
[ChangeLog][QtCore][QLatin1String] Added a constructor taking two
pointers, complementing the constructor that takes a pointer and a
length.
Change-Id: I0606fa0e3f820af1c3c1e261a340e5a941443e4f
Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/tools/qstringalgorithms_p.h')
0 files changed, 0 insertions, 0 deletions