-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.53..v0.2.54 changeset ManualMatchValidator.h
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/ManualMatchValidator.h b/hoot-core/src/main/cpp/hoot/core/ops/ManualMatchValidator.h
index 20578e3..a755741 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/ManualMatchValidator.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/ManualMatchValidator.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef MANUAL_MATCH_VALIDATOR_H
#define MANUAL_MATCH_VALIDATOR_H
@@ -30,7 +30,6 @@
// Hoot
#include <hoot/core/elements/OsmMap.h>
#include <hoot/core/ops/ConstOsmMapOperation.h>
-#include <hoot/core/info/OperationStatusInfo.h>
#include <hoot/core/visitors/ElementIdToTagValueMapper.h>
namespace hoot
@@ -50,7 +49,7 @@ namespace hoot
* with score-matches, etc.), then you can change the validator to only log warnings, which allows
* score-matches to proceed with missing ref1's by setting _requireRef1=false;
*/
-class ManualMatchValidator : public ConstOsmMapOperation, public OperationStatusInfo
+class ManualMatchValidator : public ConstOsmMapOperation
{
public:
@@ -105,6 +104,8 @@ public:
void setAllowUuidManualMatchIds(bool allow) { _allowUuidManualMatchIds = allow; }
void setFullDebugOutput(bool fullDebugOutput) { _fullDebugOutput = fullDebugOutput; }
+ virtual std::string getClassName() const { return className(); }
+
private:
QMap<ElementId, QString> _errors;