Closed Bug 69941 Opened 24 years ago Closed 24 years ago

FindCharInReadable could specify const for endIterator

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9

People

(Reporter: gordon, Assigned: scc)

References

Details

Attachments

(1 file)

Since the various FindInReadable methods don't manipulate the search_end iterators, they could be specified as const. I'm not sure if this allows for any optimization, but it might make the semantics of the methods a bit clearer.
There is no reverse version, fixing summary, accepting, setting target milestone
Status: NEW → ASSIGNED
OS: Mac System 8.5 → All
Summary: [R]Find[Char]InReadable could specify const for endIterator → FindCharInReadable could specify const for endIterator
Target Milestone: --- → mozilla0.9
Keywords: approval, patch, review
r=jag
sr=alecf
patch checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Keywords: approval, patch, review
Blocks: 70090
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: