зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
de7775c82a
Коммит
170e4b90b8
|
@ -344,6 +344,7 @@ class nsCOMPtr_helper
|
|||
class NS_COM nsQueryInterface
|
||||
{
|
||||
public:
|
||||
explicit
|
||||
nsQueryInterface( nsISupports* aRawPtr )
|
||||
: mRawPtr(aRawPtr)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче