diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-08-19 23:17:48 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2020-03-05 13:03:13 +0200 |
commit | 16f927a4f1ffeff399351b625d73ac3cd7bccd51 (patch) | |
tree | b4f99e0b56232cd60fa45e5992ca6092dd2ac5e0 /tests/auto/corelib/time | |
parent | c58249c32774646a4be5c7504339b483d658a4da (diff) |
QLoggingRegistry: use QStringView/QLatin1String more
- QLoggingRule::parse() and the ctor take pattern as QStringView
- parseNextLine takes lines as QStringView and produces the pattern as
QStringView for QLoggingRule
- (setContent has to wait for QStringTokenizer)
- QLoggingRule::pass()'s first argument is always QLatin1String, so
take it as one
Use chopped() more, add a std::move().
Change-Id: Ic95ea77464a9922fef452846bc6d5053bd5de56e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/corelib/time')
0 files changed, 0 insertions, 0 deletions