]> git.mxchange.org Git - simgear.git/commitdiff
Reset: pin ctor and dtor of event manager.
authorJames Turner <zakalawe@mac.com>
Tue, 5 Nov 2013 05:16:50 +0000 (05:16 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 5 Nov 2013 05:21:57 +0000 (05:21 +0000)
simgear/structure/event_mgr.cxx
simgear/structure/event_mgr.hxx

index b855fae2db941d9e16c58dbe4ba6ab5ff7ad388b..37ef4e13bdc18d5082d77e4a95e97b80d1a18d8a 100644 (file)
@@ -38,6 +38,16 @@ void SGTimer::run()
     (*callback)();
 }
 
+SGEventMgr::SGEventMgr()
+{
+    
+}
+
+SGEventMgr::~SGEventMgr()
+{
+    
+}
+
 void SGEventMgr::unbind()
 {
     _freezeProp.clear();
index efd34aa9516c46681ee15df36d634ce4696d0125..682964d27e98e251acf5d767068ba6974e4bb48a 100644 (file)
@@ -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);