Skip to content

v0.2.55..v0.2.56 changeset MatchFactoryJs.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-js/src/main/cpp/hoot/js/conflate/matching/MatchFactoryJs.h b/hoot-js/src/main/cpp/hoot/js/conflate/matching/MatchFactoryJs.h
index 3288e60..a4a4f48 100644
--- a/hoot-js/src/main/cpp/hoot/js/conflate/matching/MatchFactoryJs.h
+++ b/hoot-js/src/main/cpp/hoot/js/conflate/matching/MatchFactoryJs.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 #ifndef MATCHFACTORYJS_H
@@ -30,20 +30,23 @@
 
 // node.js
 #include <hoot/core/conflate/matching/MatchCreator.h>
-#include <hoot/js/SystemNodeJs.h>
+#include <hoot/js/HootBaseJs.h>
 #include <hoot/js/io/DataConvertJs.h>
 
 namespace hoot
 {
 
-class MatchFactoryJs : public node::ObjectWrap
+class MatchFactoryJs : public HootBaseJs
 {
 public:
- static void Init(v8::Handle<v8::Object> target);
+
+  static void Init(v8::Handle<v8::Object> target);
+
+  virtual ~MatchFactoryJs() = default;
 
 private:
-  MatchFactoryJs();
-  ~MatchFactoryJs();
+
+  MatchFactoryJs() = default;
 
   static void getAllAvailableCreators(const v8::FunctionCallbackInfo<v8::Value>& args);
 };
Clone this wiki locally