]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/PositionedOctree.hxx
commradio: improvements for atis speech
[flightgear.git] / src / Navaids / PositionedOctree.hxx
index b2100718bc0f90ba9a08f85851334e3690ec8f4f..1e04d6fd25bf311c0a331464ad7efa3c8fbad66d 100644 (file)
@@ -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),
@@ -236,8 +237,8 @@ namespace Octree
     mutable bool childrenLoaded;
   };
 
-  bool findNearestN(const SGVec3d& aPos, unsigned int aN, double aCutoffM, FGPositioned::Filter* aFilter, FGPositioned::List& aResults, int aCutoffMsec);
-  bool findAllWithinRange(const SGVec3d& aPos, double aRangeM, FGPositioned::Filter* aFilter, FGPositioned::List& aResults, int aCutoffMsec);
+  bool findNearestN(const SGVec3d& aPos, unsigned int aN, double aCutoffM, FGPositioned::Filter* aFilter, FGPositionedList& aResults, int aCutoffMsec);
+  bool findAllWithinRange(const SGVec3d& aPos, double aRangeM, FGPositioned::Filter* aFilter, FGPositionedList& aResults, int aCutoffMsec);
 } // of namespace Octree