Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4519 in orxonox.OLD for orxonox/trunk/src/lib/sound/sound_engine.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/lib/sound/sound_engine.cc

    r4506 r4519  
    174174*/
    175175SoundEngine* SoundEngine::singletonRef = NULL;
    176 
    177 /**
    178    \returns a Pointer to this Class
    179 */
    180 SoundEngine* SoundEngine::getInstance(void)
    181 {
    182   if (!SoundEngine::singletonRef)
    183     SoundEngine::singletonRef = new SoundEngine();
    184   return SoundEngine::singletonRef;
    185 }
    186176
    187177/**
Note: See TracChangeset for help on using the changeset viewer.