diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/polygon/BuildingMatchCreator.cpp b/hoot-core/src/main/cpp/hoot/core/conflate/polygon/BuildingMatchCreator.cpp
index dfee9d8..93a7e90 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/polygon/BuildingMatchCreator.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/polygon/BuildingMatchCreator.cpp
@@ -110,7 +110,7 @@ public:
_memoryCheckUpdateInterval = opts.getMemoryUsageCheckerInterval();
}
- ~BuildingMatchVisitor()
+ virtual ~BuildingMatchVisitor()
{
LOG_TRACE("neighbor counts, max: " << _neighborCountMax << " mean: " <<
(double)_neighborCountSum / (double)_elementsEvaluated);