Skip to content

v0.2.49..v0.2.50 changeset GreedyConstrainedMatches.cpp

Garret Voltz edited this page Nov 6, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/matching/GreedyConstrainedMatches.cpp b/hoot-core/src/main/cpp/hoot/core/conflate/matching/GreedyConstrainedMatches.cpp
index 5b2cda0..be1fd80 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/matching/GreedyConstrainedMatches.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/matching/GreedyConstrainedMatches.cpp
@@ -46,7 +46,7 @@ class MatchComparator
 {
 public:
 
-  MatchComparator(const vector<const Match*>& matches) : _matches(matches) {}
+  MatchComparator(const vector<ConstMatchPtr>& matches) : _matches(matches) {}
 
   bool operator()(size_t i, size_t j)
   {
@@ -55,13 +55,13 @@ public:
 
 private:
 
-  const vector<const Match*>& _matches;
+  const vector<ConstMatchPtr>& _matches;
 };
 
-vector<const Match*> GreedyConstrainedMatches::calculateSubset()
+vector<ConstMatchPtr> GreedyConstrainedMatches::calculateSubset()
 {
   _score = -1;
-  vector<const Match*> result;
+  vector<ConstMatchPtr> result;
 
   if (_matches.size() == 0)
   {
Clone this wiki locally