-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.55..v0.2.56 changeset MatchComparator.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/scoring/MatchComparator.h b/hoot-core/src/main/cpp/hoot/core/scoring/MatchComparator.h
index 5d9a60e..e05565a 100644
--- a/hoot-core/src/main/cpp/hoot/core/scoring/MatchComparator.h
+++ b/hoot-core/src/main/cpp/hoot/core/scoring/MatchComparator.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 MATCHCOMPARATOR_H
#define MATCHCOMPARATOR_H
@@ -55,11 +55,10 @@ public:
static std::string className() { return "hoot::MatchComparator"; }
- static int logWarnCount;
-
typedef QMultiMap<QString, ElementId> UuidToEid;
MatchComparator();
+ virtual ~MatchComparator() = default;
/**
* Compares the maps and stores the confusion matrix.
@@ -117,6 +116,8 @@ public:
private:
+ static int logWarnCount;
+
typedef std::pair<QString, QString> UuidPair;
std::set<UuidPair> _actual;