-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.53..v0.2.54 changeset ElementIdToVersionMapper.h
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/ElementIdToVersionMapper.h b/hoot-core/src/main/cpp/hoot/core/ops/ElementIdToVersionMapper.h
index 5aa591e..6221449 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/ElementIdToVersionMapper.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/ElementIdToVersionMapper.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 ELEMENT_ID_TO_VERSION_MAPPER_H
#define ELEMENT_ID_TO_VERSION_MAPPER_H
@@ -30,13 +30,12 @@
// Hoot
#include <hoot/core/elements/OsmMap.h>
#include <hoot/core/ops/ConstOsmMapOperation.h>
-#include <hoot/core/info/OperationStatusInfo.h>
#include <hoot/core/util/StringUtils.h>
namespace hoot
{
-class ElementIdToVersionMapper : public ConstOsmMapOperation, public OperationStatusInfo
+class ElementIdToVersionMapper : public ConstOsmMapOperation
{
public:
@@ -57,6 +56,8 @@ public:
virtual QString getDescription() const
{ return "Maintains a mapping of element IDs to changeset versions"; }
+ virtual std::string getClassName() const { return className(); }
+
private:
QMap<ElementId, long> _idToVersionMappings;