Closed
Bug 1159306
Opened 10 years ago
Closed 10 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•10 years ago
|
||
Attachment #8598727 -
Flags: review?(erahm)
Comment 2•10 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•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 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
•