diff --git a/indra/llmath/lloctree.h b/indra/llmath/lloctree.h
index ef83838b10c14c222d6cef478701fdec56e8841f..15468e6b43d8aeb5aee13454b5fd09cb0800b051 100644
--- a/indra/llmath/lloctree.h
+++ b/indra/llmath/lloctree.h
@@ -74,6 +74,7 @@ template <class T, typename T_PTR>
 class LLOctreeTraveler
 {
 public:
+	virtual ~LLOctreeTraveler() = default;
     virtual void traverse(const LLOctreeNode<T, T_PTR>* node);
     virtual void visit(const LLOctreeNode<T, T_PTR>* branch) = 0;
 };