зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1123237 - Part 10. Expose SwapElements from nsBaseHashtable. r=nfroyd
This commit is contained in:
Родитель
c2a6c6fbdb
Коммит
28c419dcc1
|
@ -297,6 +297,15 @@ public:
|
|||
return aMallocSizeOf(this) + ShallowSizeOfExcludingThis(aMallocSizeOf);
|
||||
}
|
||||
|
||||
/**
|
||||
* Swap the elements in this hashtable with the elements in aOther.
|
||||
*/
|
||||
void SwapElements(nsBaseHashtable& aOther)
|
||||
{
|
||||
nsTHashtable<EntryType>::SwapElements(aOther);
|
||||
}
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
using nsTHashtable<EntryType>::MarkImmutable;
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче