]> git.mxchange.org Git - simgear.git/commit
Add support for using SGWeakPtr with virtual base classes.
authorThomas Geymayer <tomgey@gmail.com>
Wed, 7 May 2014 22:19:36 +0000 (00:19 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Wed, 7 May 2014 22:27:00 +0000 (00:27 +0200)
commit9975c751a7a4986b1d1d1b1a546e37dc371e06f4
tree7a11c04bd1cecd3e7fac3f63a229d67cd6325fbb
parentefbec8b3671f4f909461f458fb9aa96bb86d6164
Add support for using SGWeakPtr with virtual base classes.

 - Add SGVirtualWeakReferenced to be used as base class
   for reference counted objects supporting weak references
   and virtual base classes.
 - Modify SGWeakPtr to copy with SGVirtualWeakReferenced
   objects.
simgear/structure/SGReferenced.hxx
simgear/structure/SGSharedPtr.hxx
simgear/structure/SGWeakPtr.hxx
simgear/structure/SGWeakReferenced.hxx