v0.2.53..v0.2.54 changeset RelationWithMostMembersOp.h
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/RelationWithMostMembersOp.h b/hoot-core/src/main/cpp/hoot/core/ops/RelationWithMostMembersOp.h
index 9ba038c..0ebd869 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/RelationWithMostMembersOp.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/RelationWithMostMembersOp.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 RELATION_WITH_MOST_MEMBERS_OP_H
@@ -33,7 +33,6 @@
#include <hoot/core/criterion/ElementCriterion.h>
#include <hoot/core/util/Configurable.h>
#include <hoot/core/elements/OsmMap.h>
-#include <hoot/core/info/OperationStatusInfo.h>
#include <hoot/core/util/StringUtils.h>
namespace hoot
@@ -44,8 +43,7 @@ namespace hoot
* satisfying some other criterion. This is useful when you have a large map file from which you
* want to find a single large relation meeting some specified criteria.
*/
-class RelationWithMostMembersOp : public OsmMapOperation, public Configurable,
- public OperationStatusInfo
+class RelationWithMostMembersOp : public OsmMapOperation, public Configurable
{
public:
@@ -67,6 +65,8 @@ public:
virtual QString getCompletedStatusMessage() const;
+ virtual std::string getClassName() const { return className(); }
+
private:
// determines which relations are selected