From 09c622e96b92e4d7029c61addb4e83e89176428f Mon Sep 17 00:00:00 2001 From: Jeff Muizelaar Date: Tue, 24 May 2016 15:38:18 -0400 Subject: [PATCH] Bug 1273669. Make JS::CustomAutoRooter::Inner final. r=billm Fixes clang virtual destructor warnings. --- js/src/vm/Shape.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/vm/Shape.h b/js/src/vm/Shape.h index a1339d199a2a..1f0563247e19 100644 --- a/js/src/vm/Shape.h +++ b/js/src/vm/Shape.h @@ -1010,7 +1010,7 @@ StackBaseShape::StackBaseShape(Shape* shape) class MOZ_RAII AutoRooterGetterSetter { - class Inner : private JS::CustomAutoRooter + class Inner final : private JS::CustomAutoRooter { public: inline Inner(ExclusiveContext* cx, uint8_t attrs, GetterOp* pgetter_, SetterOp* psetter_);