]> git.mxchange.org Git - flightgear.git/commitdiff
Anchor flight gear::Waypt's destructor, and make it virtual.
authorJames Turner <zakalawe@mac.com>
Mon, 24 Oct 2011 17:21:50 +0000 (18:21 +0100)
committerJames Turner <zakalawe@mac.com>
Mon, 24 Oct 2011 17:21:50 +0000 (18:21 +0100)
src/Navaids/route.cxx
src/Navaids/route.hxx

index 0dc9b2c0fb734d7a471bcc1adc4dc276ab272c2c..6a32f112b9413e2c6f4b76d0130648b2f5a20aad 100644 (file)
@@ -65,6 +65,10 @@ Waypt::Waypt(Route* aOwner) :
 {
 }
 
+Waypt::~Waypt()
+{
+}
+  
 std::string Waypt::ident() const
 {
   return "";
index cd2114f6d55ffe8590db50aa30d5cd50d097ce0a..c18c3883dc212b3f8833dea446acfa2473885f88 100644 (file)
@@ -85,6 +85,8 @@ typedef enum {
 class Waypt : public SGReferenced
 {
 public:
+  virtual ~Waypt();
+  
        Route* owner() const 
                { return _owner; }