-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.55..v0.2.56 changeset ElementVisitor.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/elements/ElementVisitor.h b/hoot-core/src/main/cpp/hoot/core/elements/ElementVisitor.h
index 207fc94..2f642a4 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/ElementVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/ElementVisitor.h
@@ -46,6 +46,7 @@ namespace hoot
*
* @todo We could eventually remove the default empty string implementations of OperationStatusInfo
* methods and require them to be implemented in children.
+ * @todo move this to the visitors folder
*/
class ElementVisitor : public ApiEntityInfo, public FilteredByGeometryTypeCriteria,
public OperationStatusInfo
@@ -54,8 +55,8 @@ public:
static std::string className() { return "hoot::ElementVisitor"; }
- ElementVisitor() : _numAffected(0), _numProcessed(0) {}
- virtual ~ElementVisitor() {}
+ ElementVisitor() : _numAffected(0), _numProcessed(0) { }
+ virtual ~ElementVisitor() = default;
/**
* Performs the visitor's logic on a single element