зеркало из https://github.com/mozilla/gecko-dev.git
Made a function static to remove a warning.
This commit is contained in:
Родитель
95f1e4722d
Коммит
8c366d4625
|
@ -61,7 +61,7 @@ nsProperties::nsProperties()
|
||||||
mTable = nsnull;
|
mTable = nsnull;
|
||||||
}
|
}
|
||||||
|
|
||||||
PR_CALLBACK PRIntn
|
PR_STATIC_CALLBACK(PRIntn)
|
||||||
FreeHashEntries(PLHashEntry* he, PRIntn i, void* arg)
|
FreeHashEntries(PLHashEntry* he, PRIntn i, void* arg)
|
||||||
{
|
{
|
||||||
delete[] (PRUnichar*)he->key;
|
delete[] (PRUnichar*)he->key;
|
||||||
|
|
|
@ -61,7 +61,7 @@ nsProperties::nsProperties()
|
||||||
mTable = nsnull;
|
mTable = nsnull;
|
||||||
}
|
}
|
||||||
|
|
||||||
PR_CALLBACK PRIntn
|
PR_STATIC_CALLBACK(PRIntn)
|
||||||
FreeHashEntries(PLHashEntry* he, PRIntn i, void* arg)
|
FreeHashEntries(PLHashEntry* he, PRIntn i, void* arg)
|
||||||
{
|
{
|
||||||
delete[] (PRUnichar*)he->key;
|
delete[] (PRUnichar*)he->key;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче