From: curt Date: Sat, 18 Jan 2003 19:40:28 +0000 (+0000) Subject: Make the destructor virtual. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d8f4bfa9aed8bb61b13ebddad3a8f59124f5409c;p=flightgear.git Make the destructor virtual. (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.) --- diff --git a/src/Main/globals.hxx b/src/Main/globals.hxx index 43d8ab946..588d11948 100644 --- a/src/Main/globals.hxx +++ b/src/Main/globals.hxx @@ -177,7 +177,7 @@ private: public: FGGlobals(); - ~FGGlobals(); + virtual ~FGGlobals(); virtual FGSubsystemMgr * get_subsystem_mgr () const;