зеркало из https://github.com/mozilla/gecko-dev.git
scc and I decided that the explicit keyword was not necessary for the constructor.
It never hurts you to make an nsCOMPtr. MJ
This commit is contained in:
Родитель
2fc3084b52
Коммит
d3c02c8cdd
|
@ -417,7 +417,6 @@ class nsCOMPtr
|
|||
public:
|
||||
typedef T element_type;
|
||||
|
||||
explicit
|
||||
nsCOMPtr( nsISupports* aRawPtr = 0 )
|
||||
: mRawPtr(0),
|
||||
mIsAwaitingAddRef(0)
|
||||
|
|
|
@ -417,7 +417,6 @@ class nsCOMPtr
|
|||
public:
|
||||
typedef T element_type;
|
||||
|
||||
explicit
|
||||
nsCOMPtr( nsISupports* aRawPtr = 0 )
|
||||
: mRawPtr(0),
|
||||
mIsAwaitingAddRef(0)
|
||||
|
|
|
@ -417,7 +417,6 @@ class nsCOMPtr
|
|||
public:
|
||||
typedef T element_type;
|
||||
|
||||
explicit
|
||||
nsCOMPtr( nsISupports* aRawPtr = 0 )
|
||||
: mRawPtr(0),
|
||||
mIsAwaitingAddRef(0)
|
||||
|
|
|
@ -76,6 +76,7 @@ typedef PRUint32 nsrefcnt;
|
|||
*/
|
||||
class nsISupports {
|
||||
public:
|
||||
static const nsIID& IID() { static nsIID iid = NS_ISUPPORTS_IID; return iid; }
|
||||
/**
|
||||
* @name Methods
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче