Skip to content

v0.2.54..v0.2.55 changeset PertyMatchScorer.cpp

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/perty/PertyMatchScorer.cpp b/hoot-core/src/main/cpp/hoot/core/algorithms/perty/PertyMatchScorer.cpp
index d3f8bff..55edf19 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/perty/PertyMatchScorer.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/perty/PertyMatchScorer.cpp
@@ -27,23 +27,24 @@
 #include "PertyMatchScorer.h"
 
 // hoot
-#include <hoot/core/elements/OsmMap.h>
-#include <hoot/core/ops/MapCleaner.h>
+#include <hoot/core/algorithms/perty/PertyOp.h>
 #include <hoot/core/algorithms/rubber-sheet/RubberSheet.h>
 #include <hoot/core/conflate/UnifyingConflator.h>
 #include <hoot/core/conflate/matching/MatchThreshold.h>
+#include <hoot/core/elements/OsmMap.h>
+#include <hoot/core/io/IoUtils.h>
 #include <hoot/core/ops/BuildingOutlineUpdateOp.h>
+#include <hoot/core/ops/MapCleaner.h>
+#include <hoot/core/schema/MetadataTags.h>
+#include <hoot/core/scoring/MatchScoringMapPreparer.h>
 #include <hoot/core/util/ConfigOptions.h>
-#include <hoot/core/io/IoUtils.h>
+#include <hoot/core/util/FileUtils.h>
 #include <hoot/core/util/Log.h>
 #include <hoot/core/util/MapProjector.h>
-#include <hoot/core/schema/MetadataTags.h>
 #include <hoot/core/visitors/AddRef1Visitor.h>
 #include <hoot/core/visitors/SetTagValueVisitor.h>
 #include <hoot/core/visitors/TagCountVisitor.h>
 #include <hoot/core/visitors/TagRenameKeyVisitor.h>
-#include <hoot/core/algorithms/perty/PertyOp.h>
-#include <hoot/core/scoring/MatchScoringMapPreparer.h>
 
 // Qt
 #include <QFileInfo>
@@ -86,7 +87,7 @@ std::shared_ptr<MatchComparator> PertyMatchScorer::scoreMatches(const QString& r
 {
   LOG_INFO(toString());
 
-  QDir().mkpath(outputPath);
+  FileUtils::makeDir(outputPath);
   QFileInfo inputFileInfo(referenceMapInputPath);
   const QString referenceMapOutputPath =
     outputPath + "/" + inputFileInfo.baseName() + "-reference-out.osm";
Clone this wiki locally