mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1170416 (part 4) - Remove some unnecessary casts. r=froydnj.
This commit is contained in:
parent
265569e6b8
commit
d09f9aaaa4
@ -171,7 +171,7 @@ public:
|
||||
"nsBaseHashtable was not initialized properly.");
|
||||
|
||||
s_EnumReadArgs enumData = { aEnumFunc, aUserArg };
|
||||
return PL_DHashTableEnumerate(const_cast<PLDHashTable*>(static_cast<const PLDHashTable*>(&this->mTable)),
|
||||
return PL_DHashTableEnumerate(const_cast<PLDHashTable*>(&this->mTable),
|
||||
s_EnumReadStub,
|
||||
&enumData);
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ public:
|
||||
"nsTHashtable was not initialized properly.");
|
||||
|
||||
return static_cast<EntryType*>(
|
||||
PL_DHashTableSearch(const_cast<PLDHashTable*>(static_cast<const PLDHashTable*>(&mTable)),
|
||||
PL_DHashTableSearch(const_cast<PLDHashTable*>(&mTable),
|
||||
EntryType::KeyToPointer(aKey)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user