mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 579692 - Consistently qualify accesses to dependent base classes in xpcom C++ code. r=dbaron
This commit is contained in:
parent
25ad75953b
commit
7978da358a
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user