From: James Turner Date: Tue, 5 Nov 2013 05:16:50 +0000 (+0000) Subject: Reset: pin ctor and dtor of event manager. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dd613d48bcd84eb569813a9b946ab2c284527424;p=simgear.git Reset: pin ctor and dtor of event manager. --- diff --git a/simgear/structure/event_mgr.cxx b/simgear/structure/event_mgr.cxx index b855fae2..37ef4e13 100644 --- a/simgear/structure/event_mgr.cxx +++ b/simgear/structure/event_mgr.cxx @@ -38,6 +38,16 @@ void SGTimer::run() (*callback)(); } +SGEventMgr::SGEventMgr() +{ + +} + +SGEventMgr::~SGEventMgr() +{ + +} + void SGEventMgr::unbind() { _freezeProp.clear(); diff --git a/simgear/structure/event_mgr.hxx b/simgear/structure/event_mgr.hxx index efd34aa9..682964d2 100644 --- a/simgear/structure/event_mgr.hxx +++ b/simgear/structure/event_mgr.hxx @@ -68,8 +68,8 @@ private: class SGEventMgr : public SGSubsystem { public: - SGEventMgr() { _rtProp = 0; } - ~SGEventMgr() { _rtProp = 0; } + SGEventMgr(); + ~SGEventMgr(); virtual void init() {} virtual void update(double delta_time_sec);