Fix for the template variable change from <T> to <nsISupports>. r=dougt

This commit is contained in:
cls%seawood.org 1999-11-05 03:11:03 +00:00
parent 9c3cc4d4d2
commit 9c777b0938
2 changed files with 4 additions and 4 deletions

View File

@ -644,7 +644,7 @@ class nsCOMPtr<nsISupports>
nsCOMPtr( const nsCOMPtr_helper& helper )
: nsCOMPtr_base(0)
{
assign_from_helper(helper, NS_GET_IID(T));
assign_from_helper(helper, NS_GET_IID(nsISupports));
}
nsCOMPtr( const nsDontQueryInterface<nsISupports>& aSmartPtr )
@ -677,7 +677,7 @@ class nsCOMPtr<nsISupports>
nsCOMPtr<nsISupports>&
operator=( const nsCOMPtr_helper& rhs )
{
assign_from_helper(rhs, NS_GET_IID(T));
assign_from_helper(rhs, NS_GET_IID(nsISupports));
return *this;
}

View File

@ -644,7 +644,7 @@ class nsCOMPtr<nsISupports>
nsCOMPtr( const nsCOMPtr_helper& helper )
: nsCOMPtr_base(0)
{
assign_from_helper(helper, NS_GET_IID(T));
assign_from_helper(helper, NS_GET_IID(nsISupports));
}
nsCOMPtr( const nsDontQueryInterface<nsISupports>& aSmartPtr )
@ -677,7 +677,7 @@ class nsCOMPtr<nsISupports>
nsCOMPtr<nsISupports>&
operator=( const nsCOMPtr_helper& rhs )
{
assign_from_helper(rhs, NS_GET_IID(T));
assign_from_helper(rhs, NS_GET_IID(nsISupports));
return *this;
}