Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more toolkit parts); blanket-r=bzbarsky
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "nsTextFormatter.h"
|
||||
#include "nsXPCOMCID.h"
|
||||
#include "plstr.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
#ifdef MOZ_WIDGET_COCOA
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
@@ -44,7 +45,7 @@
|
||||
#define NS_COMMANDLINE_CID \
|
||||
{ 0x23bcc750, 0xdc20, 0x460b, { 0xb2, 0xd4, 0x74, 0xd8, 0xf5, 0x8d, 0x36, 0x15 } }
|
||||
|
||||
class nsCommandLine : public nsICommandLineRunner
|
||||
class nsCommandLine MOZ_FINAL : public nsICommandLineRunner
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
Reference in New Issue
Block a user