Skip to content

v0.2.55..v0.2.56 changeset JsFunctionConsumer.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-js/src/main/cpp/hoot/js/util/JsFunctionConsumer.h b/hoot-js/src/main/cpp/hoot/js/util/JsFunctionConsumer.h
index ada8bca..c5d0812 100644
--- a/hoot-js/src/main/cpp/hoot/js/util/JsFunctionConsumer.h
+++ b/hoot-js/src/main/cpp/hoot/js/util/JsFunctionConsumer.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2017, 2018 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 #ifndef JSFUNCTIONCONSUMER_H
@@ -38,6 +38,9 @@ class JsFunctionConsumer
 {
 public:
 
+  JsFunctionConsumer() = default;
+  virtual ~JsFunctionConsumer() = default;
+
   virtual void addFunction(v8::Isolate* isolate, v8::Local<v8::Function>& func) = 0;
 };
 
Clone this wiki locally