diff --git a/hoot-core/src/main/cpp/hoot/core/elements/ElementComparison.h b/hoot-core/src/main/cpp/hoot/core/elements/ElementComparison.h
index 9335c6c..8e12491 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/ElementComparison.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/ElementComparison.h
@@ -44,9 +44,10 @@ class ElementComparison
{
public:
- ElementComparison();
+ ElementComparison() = default;
ElementComparison(ElementPtr element, const OsmMap& sourceMap,
const bool ignoreElementId = false);
+ virtual ~ElementComparison() = default;
ElementPtr getElement() const { return _element; }