Bug 253941 Compilers that know about explicit constructors should be able to stop you from assigning nsISupports and derived pointers directly into incompatible nsCOMPtrs r=scc sr=dbaron

This commit is contained in:
neil%parkwaycc.co.uk 2004-10-25 21:45:00 +00:00
Родитель de7775c82a
Коммит 170e4b90b8
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -344,6 +344,7 @@ class nsCOMPtr_helper
class NS_COM nsQueryInterface
{
public:
explicit
nsQueryInterface( nsISupports* aRawPtr )
: mRawPtr(aRawPtr)
{