missed two T-->nsISupports instances, which primary platforms didn't catch, since they weren't instantiated

This commit is contained in:
scc%netscape.com 1999-11-08 12:25:11 +00:00
Родитель 20035843b1
Коммит d5c96b7f3f
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -632,7 +632,7 @@ class nsCOMPtr<nsISupports>
// ...and finally, anything else we might need to construct from
// can exploit the |nsCOMPtr_helper| facility
{
assign_from_helper(helper, NS_GET_IID(T));
assign_from_helper(helper, NS_GET_IID(nsISupports));
}
@ -670,7 +670,7 @@ class nsCOMPtr<nsISupports>
// ...and finally, anything else we might need to assign from
// can exploit the |nsCOMPtr_helper| facility.
{
assign_from_helper(rhs, NS_GET_IID(T));
assign_from_helper(rhs, NS_GET_IID(nsISupports));
return *this;
}

Просмотреть файл

@ -632,7 +632,7 @@ class nsCOMPtr<nsISupports>
// ...and finally, anything else we might need to construct from
// can exploit the |nsCOMPtr_helper| facility
{
assign_from_helper(helper, NS_GET_IID(T));
assign_from_helper(helper, NS_GET_IID(nsISupports));
}
@ -670,7 +670,7 @@ class nsCOMPtr<nsISupports>
// ...and finally, anything else we might need to assign from
// can exploit the |nsCOMPtr_helper| facility.
{
assign_from_helper(rhs, NS_GET_IID(T));
assign_from_helper(rhs, NS_GET_IID(nsISupports));
return *this;
}