Skip to content

v0.2.55..v0.2.56 changeset NetworkMatcher.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/network/NetworkMatcher.h b/hoot-core/src/main/cpp/hoot/core/conflate/network/NetworkMatcher.h
index 0b756d3..efc4344 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/network/NetworkMatcher.h
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/network/NetworkMatcher.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef NETWORKMATCHER_H
 #define NETWORKMATCHER_H
@@ -53,7 +53,8 @@ public:
 
   static std::string className() { return "hoot::NetworkMatcher"; }
 
-  virtual ~NetworkMatcher();
+  NetworkMatcher() = default;
+  virtual ~NetworkMatcher() = default;
 
   virtual double getMatchThreshold() const = 0;
 
@@ -65,7 +66,7 @@ public:
 
   virtual void matchNetworks(ConstOsmMapPtr map, OsmNetworkPtr n1, OsmNetworkPtr n2) = 0;
 
-  virtual void finalize();
+  virtual void finalize() { }
 
   virtual QList<NetworkEdgeScorePtr> getAllEdgeScores() const = 0;
 
Clone this wiki locally