bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn

This commit is contained in:
Jonathan Kew 2012-03-23 12:13:56 +00:00
parent 92e1e95d71
commit eeb9fe61aa

View File

@ -272,7 +272,7 @@ public:
* @return the summed size of all the entries
*/
size_t SizeOfExcludingThis(SizeOfEntryExcludingThisFun sizeOfEntryExcludingThis,
nsMallocSizeOfFun mallocSizeOf, void *userArg = nsnull)
nsMallocSizeOfFun mallocSizeOf, void *userArg = nsnull) const
{
if (!IsInitialized()) {
return 0;