Skip to content

v0.2.55..v0.2.56 changeset MostEnglishName.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/string/MostEnglishName.h b/hoot-core/src/main/cpp/hoot/core/algorithms/string/MostEnglishName.h
index 2302b73..d82667a 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/string/MostEnglishName.h
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/string/MostEnglishName.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 MOSTENGLISHNAME_H
 #define MOSTENGLISHNAME_H
@@ -66,10 +66,10 @@ public:
 
   static std::string className() { return "hoot::MostEnglishName"; }
 
-  static int logWarnCount;
-
   static const MostEnglishNamePtr& getInstance();
 
+  virtual ~MostEnglishName() = default;
+
   /**
    * Returns the most English name tag value from a set of tags
    *
@@ -115,6 +115,8 @@ public:
 
 private:
 
+  static int logWarnCount;
+
   // This class is unique in that it 1) is a Singleton, 2) is configurable, and 3) and gets called
   // from hoot-js.  hoot-js isn't set up to treat treat configurable classes as Singletons, so
   // so this is here to limit that calling behavior just to MostEnglishNameJs.  Possibly,
Clone this wiki locally