Skip to content

v0.2.54..v0.2.55 changeset PertyTestRunner.cpp

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/perty/PertyTestRunner.cpp b/hoot-core/src/main/cpp/hoot/core/algorithms/perty/PertyTestRunner.cpp
index 89374cd..0e4807c 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/perty/PertyTestRunner.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/perty/PertyTestRunner.cpp
@@ -22,17 +22,17 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #include "PertyTestRunner.h"
 
 // hoot
+#include <hoot/core/algorithms/perty/PertyTestRunResult.h>
+#include <hoot/core/algorithms/perty/PertyMatchScorer.h>
 #include <hoot/core/io/MapStatsWriter.h>
 #include <hoot/core/util/ConfigOptions.h>
-#include <hoot/core/elements/OsmUtils.h>
+#include <hoot/core/util/FileUtils.h>
 #include <hoot/core/util/Log.h>
-#include <hoot/core/algorithms/perty/PertyTestRunResult.h>
-#include <hoot/core/algorithms/perty/PertyMatchScorer.h>
 
 // Qt
 #include <QFileInfo>
@@ -84,7 +84,7 @@ QList<std::shared_ptr<const PertyTestRunResult>> PertyTestRunner::runTest(const
     "Running PERTY test with " << _numTestRuns << " test runs and " << _numTestSimulations <<
     " simulations per test run on input: " << referenceMapInputPath << " ...");
 
-  QDir().mkpath(outputPath);
+  FileUtils::makeDir(outputPath);
 
   const QString sep = "\t";
   if (_generateMapStats)
Clone this wiki locally