Bug 579692 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron

This commit is contained in:
Eli Friedman 2010-07-18 10:24:23 +02:00
parent 25ad75953b
commit 7978da358a
2 changed files with 2 additions and 4 deletions

View File

@ -125,8 +125,7 @@ template<class KeyClass,class T>
T*
nsClassHashtable<KeyClass,T>::Get(KeyType aKey) const
{
typename nsBaseHashtable<KeyClass,nsAutoPtr<T>,T*>::EntryType* ent =
GetEntry(aKey);
typename base_type::EntryType* ent = this->GetEntry(aKey);
if (!ent)
return NULL;

View File

@ -145,8 +145,7 @@ template<class KeyClass, class Interface>
already_AddRefed<Interface>
nsInterfaceHashtable<KeyClass,Interface>::Get(KeyType aKey) const
{
typename nsBaseHashtable<KeyClass, nsCOMPtr<Interface>, Interface*>::EntryType* ent =
GetEntry(aKey);
typename base_type::EntryType* ent = this->GetEntry(aKey);
if (!ent)
return NULL;