mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 942109 - constify PLDHashTableOps in security/manager/; r=briansmith
This commit is contained in:
parent
8d0f3c03bb
commit
c8cd69967e
@ -86,7 +86,7 @@ RequestMapInitEntry(PLDHashTable *table, PLDHashEntryHdr *hdr,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static PLDHashTableOps gMapOps = {
|
static const PLDHashTableOps gMapOps = {
|
||||||
PL_DHashAllocTable,
|
PL_DHashAllocTable,
|
||||||
PL_DHashFreeTable,
|
PL_DHashFreeTable,
|
||||||
PL_DHashVoidPtrKeyStub,
|
PL_DHashVoidPtrKeyStub,
|
||||||
|
@ -90,7 +90,7 @@ CompareCacheClearEntry(PLDHashTable *table, PLDHashEntryHdr *hdr)
|
|||||||
entryPtr->~CompareCacheHashEntryPtr();
|
entryPtr->~CompareCacheHashEntryPtr();
|
||||||
}
|
}
|
||||||
|
|
||||||
static PLDHashTableOps gMapOps = {
|
static const PLDHashTableOps gMapOps = {
|
||||||
PL_DHashAllocTable,
|
PL_DHashAllocTable,
|
||||||
PL_DHashFreeTable,
|
PL_DHashFreeTable,
|
||||||
PL_DHashVoidPtrKeyStub,
|
PL_DHashVoidPtrKeyStub,
|
||||||
|
@ -32,7 +32,7 @@ ObjectSetInitEntry(PLDHashTable *table, PLDHashEntryHdr *hdr,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static PLDHashTableOps gSetOps = {
|
static const PLDHashTableOps gSetOps = {
|
||||||
PL_DHashAllocTable,
|
PL_DHashAllocTable,
|
||||||
PL_DHashFreeTable,
|
PL_DHashFreeTable,
|
||||||
PL_DHashVoidPtrKeyStub,
|
PL_DHashVoidPtrKeyStub,
|
||||||
|
Loading…
Reference in New Issue
Block a user