virtual members need a virtual destructor

This commit is contained in:
Samuel Attard 2017-12-18 14:55:27 +11:00
parent 29b03fc242
commit 66c0d6620b

View file

@ -35,7 +35,7 @@ class Dictionary {
public:
Dictionary();
Dictionary(v8::Isolate* isolate, v8::Local<v8::Object> object);
~Dictionary();
virtual ~Dictionary();
static Dictionary CreateEmpty(v8::Isolate* isolate);