]> git.mxchange.org Git - flightgear.git/commitdiff
Make the destructor virtual.
authorcurt <curt>
Sat, 18 Jan 2003 19:40:28 +0000 (19:40 +0000)
committercurt <curt>
Sat, 18 Jan 2003 19:40:28 +0000 (19:40 +0000)
(I thought I'd slip this in along with David's change to the default menu
configure option.  I believe that will cause a new config.h to be generated
which will cause a near complete rebuild of FG (as will this globals.hxx
change) so it shouldn't cause additional grief to have these happen at the
same time.)

src/Main/globals.hxx

index 43d8ab94618ef435f8b198d225f108df9c688368..588d119481375a660af349eb1c2e2dece4b65a54 100644 (file)
@@ -177,7 +177,7 @@ private:
 public:
 
     FGGlobals();
-    ~FGGlobals();
+    virtual ~FGGlobals();
 
     virtual FGSubsystemMgr * get_subsystem_mgr () const;