From 266016c521f9f5c0effe56ade85036b300eaa684 Mon Sep 17 00:00:00 2001 From: Kevin Gozali Date: Thu, 10 May 2018 15:00:30 -0700 Subject: [PATCH] iOS: Mark Scheduler class as final Summary: This fixes some build flavor: ``` error: destructor called on non-final 'facebook::react::Scheduler' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor] ``` Reviewed By: shergin Differential Revision: D7958022 fbshipit-source-id: 6ff64bdaa221b5c6430a98244d40d6d3789ba937 --- ReactCommon/fabric/uimanager/Scheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactCommon/fabric/uimanager/Scheduler.h b/ReactCommon/fabric/uimanager/Scheduler.h index cadbc4caa..c3730a033 100644 --- a/ReactCommon/fabric/uimanager/Scheduler.h +++ b/ReactCommon/fabric/uimanager/Scheduler.h @@ -21,7 +21,7 @@ class FabricUIManager; /* * Scheduler coordinates Shadow Tree updates and event flows. */ -class Scheduler: +class Scheduler final: public UIManagerDelegate, public ShadowTreeDelegate {