Skip to content

v0.2.53..v0.2.54 changeset ConvertCmd.cpp

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/cmd/ConvertCmd.cpp b/hoot-core/src/main/cpp/hoot/core/cmd/ConvertCmd.cpp
index 8520f1f..219e0f1 100644
--- a/hoot-core/src/main/cpp/hoot/core/cmd/ConvertCmd.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/cmd/ConvertCmd.cpp
@@ -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/)
  */
 
 // Hoot
@@ -34,6 +34,7 @@
 #include <hoot/core/util/GeometryUtils.h>
 #include <hoot/core/util/ConfigOptions.h>
 #include <hoot/core/util/StringUtils.h>
+#include <hoot/core/util/ConfigUtils.h>
 
 // Qt
 #include <QElapsedTimer>
@@ -102,6 +103,8 @@ public:
     LOG_VART(inputs);
     LOG_VART(output);  
 
+    ConfigUtils::checkForDuplicateElementCorrectionMismatch(ConfigOptions().getConvertOps());
+
     DataConverter converter;
     converter.setConfiguration(conf());
     converter.convert(inputs, output);
Clone this wiki locally