Fix dtor declaration for clang-6

Reviewed By: smeenai

Differential Revision: D7690428

fbshipit-source-id: 4b02a6f6cbccda3446f0a19b1b35c266a33560bd
This commit is contained in:
Naris Siamwalla 2018-04-20 09:40:06 -07:00 committed by Facebook Github Bot
parent cf1569c556
commit e512a4ae30
2 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class Scheduler:
public:
Scheduler();
~Scheduler();
virtual ~Scheduler();
#pragma mark - Root Nodes Managerment

View File

@ -16,6 +16,9 @@ namespace react {
*/
class SchedulerDelegate {
public:
virtual ~SchedulerDelegate() = default;
/*
* Called right after Scheduler computed (and laid out) a new updated version
* of the tree and calculated a set of mutation instructions which are