Bug 808146: Declare nsMainThreadPtrHolder as MOZ_FINAL, to fix -Wdelete-non-virtual-dtor build-warning-spam. r=bholley

This commit is contained in:
Daniel Holbert 2012-11-02 21:07:19 -07:00
Родитель 76bfe8ea30
Коммит 29cceb7819
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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.