mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
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 xpcom parts); blanket-r=bzbarsky
This commit is contained in:
parent
15dfe18ba1
commit
b3a1909572
@ -8,6 +8,7 @@
|
||||
#include "nsDirectoryServiceDefs.h"
|
||||
#include "nsDirectoryServiceUtils.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
@ -25,7 +26,7 @@ void _doCheck(bool cond, const char* msg, int line) {
|
||||
|
||||
typedef nsresult(*TestFuncPtr)();
|
||||
|
||||
class SettingsServiceCallback : public nsISettingsServiceCallback
|
||||
class SettingsServiceCallback MOZ_FINAL : public nsISettingsServiceCallback
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
Loading…
Reference in New Issue
Block a user