зеркало из https://github.com/mozilla/pjs.git
fix warnings
This commit is contained in:
Родитель
04ebe39ab8
Коммит
cbcb2ce098
|
@ -14,7 +14,7 @@ NS_DECL_ISUPPORTS
|
|||
|
||||
nsPrincipalArray(void);
|
||||
nsPrincipalArray(PRUint32 count);
|
||||
~nsPrincipalArray();
|
||||
virtual ~nsPrincipalArray();
|
||||
|
||||
NS_IMETHOD
|
||||
ComparePrincipalArray(nsIPrincipalArray * other, PRInt16 * comparisonType);
|
||||
|
|
|
@ -14,7 +14,7 @@ class nsSupportsWeakReference : public nsISupportsWeakReference
|
|||
// nothing else to do here
|
||||
}
|
||||
|
||||
inline ~nsSupportsWeakReference();
|
||||
inline virtual ~nsSupportsWeakReference();
|
||||
|
||||
NS_IMETHOD GetWeakReference( nsIWeakReference** );
|
||||
|
||||
|
@ -54,7 +54,7 @@ class nsWeakReference : public nsIWeakReference
|
|||
// nothing else to do here
|
||||
}
|
||||
|
||||
~nsWeakReference()
|
||||
virtual ~nsWeakReference()
|
||||
// ...I will only be destroyed by calling |delete| myself.
|
||||
{
|
||||
if ( mReferent )
|
||||
|
|
|
@ -14,7 +14,7 @@ class nsSupportsWeakReference : public nsISupportsWeakReference
|
|||
// nothing else to do here
|
||||
}
|
||||
|
||||
inline ~nsSupportsWeakReference();
|
||||
inline virtual ~nsSupportsWeakReference();
|
||||
|
||||
NS_IMETHOD GetWeakReference( nsIWeakReference** );
|
||||
|
||||
|
@ -54,7 +54,7 @@ class nsWeakReference : public nsIWeakReference
|
|||
// nothing else to do here
|
||||
}
|
||||
|
||||
~nsWeakReference()
|
||||
virtual ~nsWeakReference()
|
||||
// ...I will only be destroyed by calling |delete| myself.
|
||||
{
|
||||
if ( mReferent )
|
||||
|
|
|
@ -43,7 +43,7 @@ class nsStreamXferOp : public nsIStreamTransferOperation,
|
|||
public:
|
||||
// ctor/dtor
|
||||
nsStreamXferOp( const nsString &source, const nsString &target );
|
||||
~nsStreamXferOp();
|
||||
virtual ~nsStreamXferOp();
|
||||
|
||||
// Implementation.
|
||||
NS_IMETHOD OpenDialog( nsIDOMWindow *parent );
|
||||
|
|
Загрузка…
Ссылка в новой задаче