Skip to content

v0.2.50..v0.2.51 changeset RemoveMissingElementsVisitor.cpp

Garret Voltz edited this page Jan 15, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/RemoveMissingElementsVisitor.cpp b/hoot-core/src/main/cpp/hoot/core/visitors/RemoveMissingElementsVisitor.cpp
index 4779c4a..404e3b1 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/RemoveMissingElementsVisitor.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/RemoveMissingElementsVisitor.cpp
@@ -36,11 +36,12 @@ namespace hoot
 
 HOOT_FACTORY_REGISTER(ElementVisitor, RemoveMissingElementsVisitor)
 
-RemoveMissingElementsVisitor::RemoveMissingElementsVisitor(int maxReport)
+RemoveMissingElementsVisitor::RemoveMissingElementsVisitor(
+  const Log::WarningLevel& logLevel, const int maxReport)
 {
   _v =
     std::shared_ptr<ReportMissingElementsVisitor>(
-      new ReportMissingElementsVisitor(true, maxReport));
+      new ReportMissingElementsVisitor(true, logLevel, maxReport));
 }
 
 void RemoveMissingElementsVisitor::visit(const ConstElementPtr& e)
Clone this wiki locally