зеркало из https://github.com/mozilla/gecko-dev.git
Bug 829975: Mark classes in nsGIOService.cpp & .h as MOZ_FINAL to fix their Wdelete-non-virtual-dtor build warnings. r=ehsan
This commit is contained in:
Родитель
0fb094e75b
Коммит
7a21cb962a
|
@ -36,7 +36,7 @@ get_content_type_from_mime_type(const char *mimeType)
|
|||
return foundContentType;
|
||||
}
|
||||
|
||||
class nsGIOMimeApp : public nsIGIOMimeApp
|
||||
class nsGIOMimeApp MOZ_FINAL : public nsIGIOMimeApp
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -101,7 +101,7 @@ nsGIOMimeApp::Launch(const nsACString& aUri)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
class GIOUTF8StringEnumerator : public nsIUTF8StringEnumerator
|
||||
class GIOUTF8StringEnumerator MOZ_FINAL : public nsIUTF8StringEnumerator
|
||||
{
|
||||
public:
|
||||
GIOUTF8StringEnumerator() : mIndex(0) { }
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#define NS_GIOSERVICE_CID \
|
||||
{0xe3a1f3c9, 0x3ae1, 0x4b40, {0xa5, 0xe0, 0x7b, 0x45, 0x7f, 0xc9, 0xa9, 0xad}}
|
||||
|
||||
class nsGIOService : public nsIGIOService
|
||||
class nsGIOService MOZ_FINAL : public nsIGIOService
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
|
Загрузка…
Ссылка в новой задаче