Closed Bug 1131302 Opened 10 years ago Closed 10 years ago

Give PLDHashTable an initializing constructor

Categories

(Core :: XPCOM, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1161377

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

Currently to initialize a PLDHashTable you have to call the constructor and then PL_DHashTableInit(). We should add a second constructor that combines the two. In combination with bug 1131300, this will allow a heap-allocated PLDHashTable to be created with just |new| and destroyed with just |delete|.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.