Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4519 in orxonox.OLD for orxonox/trunk/src/util/garbage_collector.cc


Ignore:
Timestamp:
Jun 6, 2005, 2:36:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: changed all getInstances into inline functions to save some (minor) time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/garbage_collector.cc

    r4485 r4519  
    4848  // delete what has to be deleted here
    4949}
    50 
    51 
    52 /**
    53    \brief this returns the singleton reference this this class
    54    \returns singleton reference
    55 */
    56 GarbageCollector* GarbageCollector::getInstance()
    57 {
    58   if( singletonRef == NULL)
    59     singletonRef = new GarbageCollector();
    60   return singletonRef;
    61 }
    62 
    6350
    6451/**
Note: See TracChangeset for help on using the changeset viewer.