v0.2.55..v0.2.56 changeset LevenshteinDistance.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/string/LevenshteinDistance.h b/hoot-core/src/main/cpp/hoot/core/algorithms/string/LevenshteinDistance.h
index b10f73b..2a8c8c1 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/string/LevenshteinDistance.h
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/string/LevenshteinDistance.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 LEVENSHTEINDISTANCE_H
@@ -52,6 +52,7 @@ public:
* @param alph See the levenshtein.distance.alpha configuration option for an explanation.
*/
LevenshteinDistance(double alpha = -1);
+ virtual ~LevenshteinDistance() = default;
virtual double compare(const QString& s1, const QString& s2) const override;