Closed Bug 1617898 Opened 5 years ago Closed 5 years ago

Provide RemoveIf function on nsBaseHashtable

Categories

(Core :: XPCOM, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: sg, Assigned: sg)

Details

Attachments

(1 file)

It would be convenient if nsBaseHashtable (and its subclasses) provided a RemoveIf (or similarly named) function that removes all entries matching some predicate (on its keys and/or values).

Pushed by sgiesecke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/700203bb9084 Add nsBaseHashtable::RemoveIf function. r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: