Closed
Bug 940160
Opened 12 years ago
Closed 12 years ago
constify the PLDHashTableOps struct in nsTHashtable::Init
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: froydnj, Assigned: froydnj)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
1.13 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
Because more const is a good thing.
![]() |
Assignee | |
Comment 1•12 years ago
|
||
const++ and PL_DHashTableInit already took a const ops structure.
Attachment #8334289 -
Flags: review?(benjamin)
![]() |
Assignee | |
Updated•12 years ago
|
Assignee: nobody → nfroyd
![]() |
Assignee | |
Comment 2•12 years ago
|
||
Comment on attachment 8334289 [details] [diff] [review]
constify the PLDHashTableOps struct in nsTHashtable::Init
Kicking over to ehsan, who has a shorter review queue.
Attachment #8334289 -
Flags: review?(benjamin) → review?(ehsan)
Comment 3•12 years ago
|
||
Comment on attachment 8334289 [details] [diff] [review]
constify the PLDHashTableOps struct in nsTHashtable::Init
Review of attachment 8334289 [details] [diff] [review]:
-----------------------------------------------------------------
::: xpcom/glue/nsTHashtable.h
@@ +391,5 @@
> template<class EntryType>
> void
> nsTHashtable<EntryType>::Init(uint32_t aInitSize)
> {
> + static const PLDHashTableOps sOps =
Nit: trailing space :P
Attachment #8334289 -
Flags: review?(ehsan) → review+
![]() |
Assignee | |
Comment 4•12 years ago
|
||
Flags: in-testsuite-
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•12 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•