зеркало из https://github.com/mozilla/gecko-dev.git
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 (tools/profiler parts); blanket-r=bzbarsky
This commit is contained in:
Родитель
955e9823e8
Коммит
fc6b30fa6d
|
@ -7,8 +7,9 @@
|
|||
#define _NSPROFILER_H_
|
||||
|
||||
#include "nsIProfiler.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
class nsProfiler : public nsIProfiler
|
||||
class nsProfiler MOZ_FINAL : public nsIProfiler
|
||||
{
|
||||
public:
|
||||
nsProfiler();
|
||||
|
|
Загрузка…
Ссылка в новой задаче