]> git.mxchange.org Git - simgear.git/commit
Reset: use ref-counting to own subsystems.
authorJames Turner <zakalawe@mac.com>
Tue, 5 Nov 2013 05:17:22 +0000 (05:17 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 12 Nov 2013 23:12:45 +0000 (23:12 +0000)
commit3e9ed08c53ef4ef465455a98309e26ddbecf686d
tree28a169e2738da3c36f9bbecc7040c581ea78c705
parentb7df9026c038f0c80501f4d563de7232196248e2
Reset: use ref-counting to own subsystems.

Change the subsystem-group and manager code to use shared-ptr references
to subsystems, instead of holding a raw pointer. Hence the manager becomes
the owning ref to most subsystems.
simgear/structure/subsystem_mgr.cxx
simgear/structure/subsystem_mgr.hxx