Closed
Bug 1159306
Opened 8 years ago
Closed 8 years ago
explicitly initialize nsBaseHashtableET::mData
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(1 file)
1.07 KB,
patch
|
erahm
:
review+
|
Details | Diff | Splinter Review |
mData will get automatically constructed when DataType is a class or struct with a default constructor, but a number of uses of nsBaseHashtable use integer or pointer types as DataType. Explicitly initialize mData so that it looks as though we're fully initializing the class in such cases.
![]() |
Assignee | |
Comment 1•8 years ago
|
||
Attachment #8598727 -
Flags: review?(erahm)
Comment 2•8 years ago
|
||
Comment on attachment 8598727 [details] [diff] [review] explicitly initialize nsBaseHashtableET::mData Review of attachment 8598727 [details] [diff] [review]: ----------------------------------------------------------------- r=me
Attachment #8598727 -
Flags: review?(erahm) → review+
Comment 4•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f450fec85dd5
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•