Closed Bug 1139217 Opened 10 years ago Closed 10 years ago

js::HashSet<T> should work with move-only T types

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: fitzgen, Assigned: fitzgen)

References

Details

Attachments

(1 file)

Right now, due to const-ness, it only invokes copy ctors. We need to remove the const when changing table size to enable moves.
Attachment #8572316 - Flags: review?(luke)
Comment on attachment 8572316 [details] [diff] [review] Make js::HashSet<T> work with move-only T types Ah, all our in-tree uses of non-copyable Ts use HashMaps atm which don't have this problem.
Attachment #8572316 - Flags: review?(luke) → review+
11:55 < RyanVM|sheriffduty> fitzgen|gdc: they're dying before the build even starts, so that seems pretty infra to me -------------------------------------------------------- Alright then!
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: