Open Bug 1491494 Opened 6 years ago Updated 2 years ago

Get rid of deprecated nsReadingIterator

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

People

(Reporter: erahm, Unassigned)

Details

nsReadingIterator [1] (aka nsTStringRepr::const_iterator [2] aka nsTString::const_iterator [3]) has been deprecated for quite some time. We should remove it and replace usages with nsTStringRepr::const_char_iterator.

Ideally we want to rename `const_char_iterator` to `const_iterator` when the process is done.

[1] https://searchfox.org/mozilla-central/search?q=symbol:T_nsReadingIterator&redirect=false
[2] https://searchfox.org/mozilla-central/search?q=symbol:T_mozilla%3A%3Adetail%3A%3AnsTStringRepr%3A%3Aconst_iterator&redirect=false
[3] https://searchfox.org/mozilla-central/search?q=symbol:T_nsTSubstring%3A%3Aconst_iterator&redirect=false
Component: String → XPCOM
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.