зеркало из https://github.com/mozilla/gecko-dev.git
Bug 808146: Declare nsMainThreadPtrHolder as MOZ_FINAL, to fix -Wdelete-non-virtual-dtor build-warning-spam. r=bholley
This commit is contained in:
Родитель
76bfe8ea30
Коммит
29cceb7819
|
@ -102,7 +102,7 @@ NS_ProxyRelease
|
|||
* an nsMainThreadPtrHandle<T> rather than an nsCOMPtr<T>.
|
||||
*/
|
||||
template<class T>
|
||||
class nsMainThreadPtrHolder
|
||||
class nsMainThreadPtrHolder MOZ_FINAL
|
||||
{
|
||||
public:
|
||||
// We can only acquire a pointer on the main thread.
|
||||
|
|
Загрузка…
Ссылка в новой задаче