[docs] Fix return value of QStringIterator::next()
It's char32_t these days, not uint. Task-number: QTBUG-103531 Change-Id: Iaa03f97d0d1266a6763eb858edb45ae0f2a4729d Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> (cherry picked from commit a8e6a0e546a6a90ff2daee79c3cf504b7160cb86) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
859a626ccf
commit
b78ef8b437
@ -16,7 +16,7 @@ QStringIterator i(string); // implicitly converted to QStringView
|
||||
|
||||
//! [1]
|
||||
while (i.hasNext())
|
||||
uint c = i.next();
|
||||
char32_t c = i.next();
|
||||
//! [1]
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user