Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2009, 11:06:24 PM (15 years ago)
Author:
landauf
Message:

Found another delete in CompoundCollisionShape.cc
Also replaced delete with destroy() in ScopedSingleton, which means it only works with OrxonoxClasses (this works with the two classes inheriting from ScopedSingleton atm).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/libraries/util/ScopedSingleton.h

    r5738 r5802  
    9393                if (T::singletonPtr_s)
    9494                {
    95                     delete T::singletonPtr_s;
     95                    T::singletonPtr_s->destroy();
    9696                    T::singletonPtr_s = 0;
    9797                }
Note: See TracChangeset for help on using the changeset viewer.