Skip to content

v0.2.53..v0.2.54 changeset ReportMissingElementsVisitor.h

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/ReportMissingElementsVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/ReportMissingElementsVisitor.h
index 803131c..ee26cbc 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/ReportMissingElementsVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/ReportMissingElementsVisitor.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 REPORTMISSINGELEMENTSVISITOR_H
 #define REPORTMISSINGELEMENTSVISITOR_H
@@ -32,7 +32,7 @@
 #include <hoot/core/elements/OsmMapConsumer.h>
 #include <hoot/core/util/Configurable.h>
 #include <hoot/core/util/Log.h>
-#include <hoot/core/info/OperationStatusInfo.h>
+#include <hoot/core/util/StringUtils.h>
 
 namespace hoot
 {
@@ -43,7 +43,7 @@ namespace hoot
  * shouldn't contain missing references.
  */
 class ReportMissingElementsVisitor : public ConstElementVisitor, public OsmMapConsumer,
-  public Configurable, public OperationStatusInfo
+  public Configurable
 {
 public:
 
@@ -69,7 +69,9 @@ public:
   virtual QString getInitStatusMessage() const { return "Reporting missing elements..."; }
 
   virtual QString getCompletedStatusMessage() const
-  { return "Reported " + QString::number(_missingCount) + " missing elements."; }
+  { return "Reported " + StringUtils::formatLargeNumber(_missingCount) + " missing elements."; }
+
+  virtual std::string getClassName() const { return className(); }
 
 protected:
 
Clone this wiki locally