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 (XPCOM parts); r=bsmedberg
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include "mozilla/Util.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
@@ -97,8 +98,8 @@ using namespace mozilla;
|
||||
|
||||
/* directory enumerator */
|
||||
class
|
||||
nsDirEnumeratorUnix : public nsISimpleEnumerator,
|
||||
public nsIDirectoryEnumerator
|
||||
nsDirEnumeratorUnix MOZ_FINAL : public nsISimpleEnumerator,
|
||||
public nsIDirectoryEnumerator
|
||||
{
|
||||
public:
|
||||
nsDirEnumeratorUnix();
|
||||
|
||||
Reference in New Issue
Block a user