From 2c3d779459563a6ec5b50e93c01968a6bde2a429 Mon Sep 17 00:00:00 2001
From: Torsten Dreyer <torsten@t3r.de>
Date: Sun, 23 Mar 2014 21:17:54 +0100
Subject: [PATCH] Add virtual destructor

---
 src/Navaids/PositionedOctree.hxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Navaids/PositionedOctree.hxx b/src/Navaids/PositionedOctree.hxx
index 167f37a0d..1e04d6fd2 100644
--- a/src/Navaids/PositionedOctree.hxx
+++ b/src/Navaids/PositionedOctree.hxx
@@ -153,6 +153,7 @@ namespace Octree
     virtual void visitForLines(const SGVec3d& aPos, double aCutoff,
                          PolyLineList& aLines,
                          FindLinesDeque& aQ) const = 0;
+    virtual ~Node() {}
   protected:
     Node(const SGBoxd &aBox, int64_t aIdent) :
     _ident(aIdent),