v0.2.48..v0.2.49 changeset UselessElementCriterion.h
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/UselessElementCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/UselessElementCriterion.h
index 62fe606..6dd3513 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/UselessElementCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/UselessElementCriterion.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2017, 2018 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef USELESSELEMENTCRITERION_H
#define USELESSELEMENTCRITERION_H
@@ -59,6 +59,9 @@ public:
virtual QString getDescription() const { return "Identifies elements that have no use"; }
+ virtual QString toString() const override
+ { return QString::fromStdString(className()).remove("hoot::"); }
+
private:
ConstOsmMapPtr _map;