v0.2.55..v0.2.56 changeset HasNameCriterion.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/HasNameCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/HasNameCriterion.h
index 6f567f1..2b29cfd 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/HasNameCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/HasNameCriterion.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef HAS_NAME_CRITERION_H
#define HAS_NAME_CRITERION_H
@@ -41,7 +41,8 @@ public:
static std::string className() { return "hoot::HasNameCriterion"; }
- HasNameCriterion() {}
+ HasNameCriterion() = default;
+ virtual ~HasNameCriterion() = default;
virtual bool isSatisfied(const ConstElementPtr& e) const override;