Skip to content

v0.2.55..v0.2.56 changeset IndexedEdgeMatchSet.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/network/IndexedEdgeMatchSet.h b/hoot-core/src/main/cpp/hoot/core/conflate/network/IndexedEdgeMatchSet.h
index 842e230..99e0d56 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/network/IndexedEdgeMatchSet.h
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/network/IndexedEdgeMatchSet.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef __INDEXED_EDGE_MATCH_SET_H__
 #define __INDEXED_EDGE_MATCH_SET_H__
@@ -44,11 +44,10 @@ public:
 
   static std::string className() { return "hoot::IndexedEdgeMatchSet"; }
 
-  static int logWarnCount;
-
   typedef QHash<ConstEdgeMatchPtr, double> MatchHash;
 
-  IndexedEdgeMatchSet();
+  IndexedEdgeMatchSet() = default;
+  virtual ~IndexedEdgeMatchSet()  = default;
 
   /**
    * The edge match should not be modified after it has been added to the index.
@@ -132,6 +131,8 @@ public:
 
 private:
 
+  static int logWarnCount;
+
   typedef QHash<ConstNetworkEdgePtr, QSet<ConstEdgeMatchPtr>> EdgeToMatchMap;
   typedef QHash<ConstNetworkVertexPtr, QSet<ConstEdgeMatchPtr>> VertexToMatchMap;
 
Clone this wiki locally