-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.55..v0.2.56 changeset JsFunctionVisitor.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-js/src/main/cpp/hoot/js/visitors/JsFunctionVisitor.h b/hoot-js/src/main/cpp/hoot/js/visitors/JsFunctionVisitor.h
index 8acbb45..dc0d3a0 100644
--- a/hoot-js/src/main/cpp/hoot/js/visitors/JsFunctionVisitor.h
+++ b/hoot-js/src/main/cpp/hoot/js/visitors/JsFunctionVisitor.h
@@ -47,6 +47,7 @@ public:
static std::string className() { return "hoot::JsFunctionVisitor"; }
JsFunctionVisitor() : _map(0) {}
+ virtual ~JsFunctionVisitor() = default;
virtual void addFunction(v8::Isolate* isolate, v8::Local<v8::Function>& func)
{ _func.Reset(isolate, func); }