diff --git a/hoot-core/src/main/cpp/hoot/core/util/ConfigUtils.cpp b/hoot-core/src/main/cpp/hoot/core/util/ConfigUtils.cpp
index 4991b65..101d6fe 100644
--- a/hoot-core/src/main/cpp/hoot/core/util/ConfigUtils.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/util/ConfigUtils.cpp
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2017, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#include "ConfigUtils.h"
@@ -30,9 +30,7 @@
// Hoot
#include <hoot/core/util/ConfigOptions.h>
#include <hoot/core/visitors/ApiTagTruncateVisitor.h>
-
-// Qt
-#include <QStringList>
+#include <hoot/core/ops/DuplicateNodeRemover.h>
namespace hoot
{
@@ -67,4 +65,14 @@ void ConfigUtils::checkForTagValueTruncationOverride()
}
}
+void ConfigUtils::checkForDuplicateElementCorrectionMismatch(const QStringList& ops)
+{
+ const QString dupeNodeRemoverClassName =
+ QString::fromStdString(DuplicateNodeRemover::className());
+ if (ops.contains(dupeNodeRemoverClassName))
+ {
+ conf().set(ConfigOptions::getMapMergeIgnoreDuplicateIdsKey(), true);
+ }
+}
+
}