v0.2.50..v0.2.51 changeset ReportMissingElementsVisitor.h
Garret Voltz edited this page Jan 15, 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 a4a9978..803131c 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/ReportMissingElementsVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/ReportMissingElementsVisitor.h
@@ -49,13 +49,12 @@ public:
static std::string className() { return "hoot::ReportMissingElementsVisitor"; }
- ReportMissingElementsVisitor(bool removeMissing = false,
- int maxReport = Log::getWarnMessageLimit());
+ ReportMissingElementsVisitor(const bool removeMissing = false,
+ const Log::WarningLevel& logLevel = Log::Trace,
+ const int maxReport = Log::getWarnMessageLimit());
virtual void setOsmMap(OsmMap* map) { _map = map; }
- //virtual void setOsmMap(const OsmMap* map) { assert(!_removeMissing); _constMap = map; }
-
virtual void visit(const ConstElementPtr& e);
virtual void setConfiguration(const Settings& conf);
@@ -75,7 +74,7 @@ public:
protected:
OsmMap* _map;
- //const OsmMap* _constMap;
+ Log::WarningLevel _logLevel;
int _maxReport;
int _missingCount;
bool _removeMissing;